summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-01-20 21:24:03 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-08-17 12:35:36 -0400
commitd784ecfea946f35c7678a86b79a7984e33a2c004 (patch)
tree5259c06893360ebd90992d1efb4a6217f4707293 /libunwind
parent6b0e2fa6f0b1045ed616e263c75ee59768e9f7f8 (diff)
downloadllvm-d784ecfea946f35c7678a86b79a7984e33a2c004.tar.gz
[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 'libunwind')
-rw-r--r--libunwind/cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/cmake/config-ix.cmake b/libunwind/cmake/config-ix.cmake
index c9b65b3cefc0..96cb8afcb485 100644
--- a/libunwind/cmake/config-ix.cmake
+++ b/libunwind/cmake/config-ix.cmake
@@ -31,7 +31,7 @@ endif()
# required for the link to go through. We remove sanitizers from the
# configuration checks to avoid spurious link errors.
-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++")
else()