Commit 61c521d
fix(ci): also unset LDFLAGS/CFLAGS for cross-compilation
Conda's cross-compilation toolchain sets LDFLAGS with
-L$CONDA_PREFIX/lib pointing to host x86_64 libraries. CMake
picks up LDFLAGS from the environment, causing lld to find
incompatible libgcc_s.so.1. Strip all conda compiler flags
since our toolchain.cmake provides the correct settings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9d87959 commit 61c521d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments