Skip to content

Commit 75c8efe

Browse files
FIX Hot fix for llvm-x86_64-pc-windows-gnu.
1 parent dafab51 commit 75c8efe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/llvm-x86_64-pc-windows-gnu.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ jobs:
5353
-DCMAKE_SYSTEM_NAME=Windows \
5454
-DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc-posix \
5555
-DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++-posix \
56-
-DCMAKE_SYSROOT=/usr/x86_64-w64-mingw32 \
57-
-DCMAKE_C_FLAGS="-idirafter/usr/include" \
58-
-DCMAKE_CXX_FLAGS="-idirafter/usr/include" \
56+
-DCMAKE_C_FLAGS="--sysroot=/usr/x86_64-w64-mingw32 -idirafter/usr/include" \
57+
-DCMAKE_CXX_FLAGS="--sysroot=/usr/x86_64-w64-mingw32 -idirafter/usr/include" \
5958
-DLLVM_ENABLE_PROJECTS="llvm;lld" \
6059
-DLLVM_ENABLE_TERMINFO=OFF \
6160
-DLLVM_ENABLE_ZLIB=ON \

0 commit comments

Comments
 (0)