Add -DUSE_NEW_LLVM_ABI_SYSTEM by default to Windows build for -llvm-api

This commit is contained in:
gingerBill
2021-02-24 16:00:05 +00:00
parent 425bb0579e
commit a6fdb5eb5e

View File

@@ -20,7 +20,7 @@ if "%2" == "1" (
)
set compiler_flags= -nologo -Oi -TP -fp:precise -Gm- -MP -FC -EHsc- -GR- -GF
set compiler_defines= -DLLVM_BACKEND_SUPPORT
set compiler_defines= -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
for /f %%i in ('git rev-parse --short HEAD') do set GIT_SHA=%%i
if %ERRORLEVEL% equ 0 set compiler_defines=%compiler_defines% -DGIT_SHA=\"%GIT_SHA%\"