[compiler-rt] compiler-rt: Suppress -g error for gpu builds (PR #202230)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 05:40:04 PDT 2026
================
@@ -535,7 +535,7 @@ if(MSVC)
string(REGEX REPLACE "(^| )/Z[i7I]($| )" " /Z7 "
"${var_to_update}" "${${var_to_update}}")
endforeach()
-elseif(APPLE)
+elseif("${COMPILER_RT_DEFAULT_TARGET_TRIPLE}" MATCHES "apple")
----------------
jhuber6 wrote:
This makes sense, because the CMake variable is just the host system when we really care about cross-compilation.
https://github.com/llvm/llvm-project/pull/202230
More information about the llvm-commits
mailing list