[libc++] Make sure we include %{flags} when building with the new format
authorLouis Dionne <ldionne@apple.com>
Mon, 6 Apr 2020 14:25:51 +0000 (10:25 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 6 Apr 2020 15:24:04 +0000 (11:24 -0400)
commit4e52944ef11987efe09681df53700e54222373b8
tree92ee3927c09aa6769b2788580f95b24ca3f1b63e
parent38e07204749bf94ffe9888196108dc5c77d439b0
[libc++] Make sure we include %{flags} when building with the new format

Otherwise, we're missing some flags like the flags that are used by
sanitizer builds and the 32-bit builds. In the long term, I think it
would be better to have only %{compile_flags} and %{link_flags}, but
for the benefit of adopting the new format by default, I think it's OK
to add %{flags} to it.
libcxx/test/libcxx/selftest/newformat/sh.cpp/remote-substitutions.sh.cpp
libcxx/test/libcxx/selftest/newformat/sh.cpp/substitutions.sh.cpp
libcxx/utils/libcxx/test/newformat.py