[compiler-rt] [compiler-rt] COMPILER_RT_DEFAULT_TARGET_ONLY should explicitly pass the triple to test (PR #187836)
Andrew Haberlandt via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 25 00:53:17 PDT 2026
ndrewh wrote:
This could be worth a try (in place of the line changed by this PR)? @zmodem
```
if("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "i[2-6]86")
set(TARGET_${COMPILER_RT_DEFAULT_TARGET_ARCH}_CFLAGS -target ${COMPILER_RT_DEFAULT_TARGET_TRIPLE} -m32)
else()
set(TARGET_${COMPILER_RT_DEFAULT_TARGET_ARCH}_CFLAGS -target ${COMPILER_RT_DEFAULT_TARGET_TRIPLE})
endif()
```
https://github.com/llvm/llvm-project/pull/187836
More information about the llvm-commits
mailing list