Commit 8f52169
fix(build-llvm): pass --target to clang-cl for Windows cross-compile
On Windows, build-llvm.py uses clang-cl directly instead of the
toolchain file, so CLICE_TARGET_TRIPLE wasn't setting the compiler
target. Pass --target=<triple> via CMAKE_C/CXX_FLAGS and set
LLVM_HOST_TRIPLE for correct cross-compilation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 65c36ce commit 8f52169
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
117 | | - | |
118 | | - | |
| 120 | + | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| |||
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| 211 | + | |
208 | 212 | | |
209 | 213 | | |
210 | 214 | | |
| |||
0 commit comments