diff options
author | Nico Weber <thakis@chromium.org> | 2022-12-06 10:17:35 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2022-12-06 10:19:58 -0500 |
commit | 9531fc37fb8b84e448144fc2318e28fa0654a47e (patch) | |
tree | f6d681c3f293f2ebada92e8aa6f1bea2eb1c19aa /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 2ffe225d113031cc211d20d8d2cb82eeaa1a34a2 (diff) | |
download | llvm-9531fc37fb8b84e448144fc2318e28fa0654a47e.zip llvm-9531fc37fb8b84e448144fc2318e28fa0654a47e.tar.gz llvm-9531fc37fb8b84e448144fc2318e28fa0654a47e.tar.bz2 |
Unbreak check-all on macOS after dbe8c2c316c40
`${X86_64}` expands to `x86_64;x86_64h` on macOS, so
get_test_cc_for_arch(${X86_64} METADATA_TEST_TARGET_CC METADATA_TEST_TARGET_CFLAGS)
calls the macro get_test_cc_for_arch() with the four arguments
`x86_64`, `x86_64h`, `METADATA_TEST_TARGET_CC`, and `METADATA_TEST_TARGET_CFLAGS`.
This writes the compiler into a variable called x86_64h, the cflags into a
variable called METADATA_TEST_TARGET_CC, and silently ignores the fourth
parameter.
As a fix, just pass `x86_64` instead of `${X86_64}`. Hopefully
that won't break anything on other platforms.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions