diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-01-20 21:24:03 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-17 12:35:36 -0400 |
commit | d784ecfea946f35c7678a86b79a7984e33a2c004 (patch) | |
tree | 5259c06893360ebd90992d1efb4a6217f4707293 /runtimes/CMakeLists.txt | |
parent | 6b0e2fa6f0b1045ed616e263c75ee59768e9f7f8 (diff) | |
download | llvm-d784ecfea946f35c7678a86b79a7984e33a2c004.zip llvm-d784ecfea946f35c7678a86b79a7984e33a2c004.tar.gz llvm-d784ecfea946f35c7678a86b79a7984e33a2c004.tar.bz2 |
[compiler-rt][libunwind][runtimes] Recategorize `llvm_check_linker_flag` langs
Done according to @phosek's comments in D117537, but not done then to
separate pure refactor (that) from possible behavior change (this).
Wasn't working before, but I think that was due to an issue of mismatched variable names fixed in D110005.
Reviewed By: phosek, #libunwind, #libc_abi
Differential Revision: https://reviews.llvm.org/D117833
Diffstat (limited to 'runtimes/CMakeLists.txt')
-rw-r--r-- | runtimes/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index d333de9e..cea287f 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -132,7 +132,7 @@ endif() # Check for -nostdlib++ first; if there's no C++ standard library yet, # all check_cxx_compiler_flag commands will fail until we add -nostdlib++ # (or -nodefaultlibs). -llvm_check_compiler_linker_flag(C "-nostdlib++" CXX_SUPPORTS_NOSTDLIBXX_FLAG) +llvm_check_compiler_linker_flag(CXX "-nostdlib++" CXX_SUPPORTS_NOSTDLIBXX_FLAG) if (CXX_SUPPORTS_NOSTDLIBXX_FLAG) set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -nostdlib++") endif() |