Skip to content

Commit

Permalink
Use compiler-rt from BUILD_PREFIX on windows
Browse files Browse the repository at this point in the history
Co-authored-by: Isuru Fernando <[email protected]>
  • Loading branch information
h-vetinari and isuruf authored Oct 4, 2023
1 parent a8b570b commit 38155a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FOR /F "tokens=* USEBACKQ" %%F IN (`clang.exe -dumpversion`) DO (
:: https://github.com/llvm/llvm-project/issues/63741
set "FFLAGS=-D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL --target=x86_64-pc-windows-msvc -nostdlib"
set "LDFLAGS=--target=x86_64-pc-windows-msvc -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld"
set "LDFLAGS=%LDFLAGS% -Wl,-defaultlib:%LIBRARY_PREFIX%/lib/clang/!CLANG_VER!/lib/windows/clang_rt.builtins-x86_64.lib"
set "LDFLAGS=%LDFLAGS% -Wl,-defaultlib:%BUILD_PREFIX%/Library/lib/clang/!CLANG_VER!/lib/windows/clang_rt.builtins-x86_64.lib"

:: see explanation here:
:: https://github.com/conda-forge/scipy-feedstock/pull/253#issuecomment-1732578945
Expand Down

0 comments on commit 38155a0

Please sign in to comment.