Added support for custom c flags

This commit is contained in:
JCash 2022-11-11 11:33:09 +01:00
parent 3a272e5e51
commit 8e512f8e48

View File

@ -121,6 +121,7 @@ goto :BUILD
@set TARGETLIB=libluajit_%TARGETLIB_SUFFIX%.a
:BUILD
del %TARGETLIB%
@set LJCOMPILE=%LJCOMPILE% %TARGET_CFLAGS%
@if "%1" neq "noamalg" goto :AMALG
for %%f in (lj_*.c lib_*.c) do (
%LJCOMPILE% %%f