]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix quoting in xedkbuild.bat.
authorMike Pall <mike>
Tue, 3 Sep 2013 14:02:33 +0000 (16:02 +0200)
committerMike Pall <mike>
Tue, 3 Sep 2013 14:02:33 +0000 (16:02 +0200)
src/xedkbuild.bat

index 375f1955dbe191ecda4e3bffa88ed1deb2d178fb..adbce8bec4cc00220b4157eb184c7b500553500e 100644 (file)
@@ -54,13 +54,13 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
 @if errorlevel 1 goto :BAD\r
 \r
 @rem ---- Cross compiler ----\r
-@set LJCOMPILE="%XEDK%\bin\win32\cl" /nologo /c /MT /O2 /W3 /GF /Gm- /GR- /GS- /Gy /openmp- /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /D_XBOX /D_LIB /DLUAJIT_USE_SYSMALLOC\r
-@set LJLIB="%XEDK%\bin\win32\lib" /nologo\r
-@set INCLUDE="%XEDK%\include\xbox"\r
+@set "LJCOMPILE=%XEDK%\bin\win32\cl /nologo /c /MT /O2 /W3 /GF /Gm- /GR- /GS- /Gy /openmp- /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /D_XBOX /D_LIB /DLUAJIT_USE_SYSMALLOC"\r
+@set "LJLIB=%XEDK%\bin\win32\lib /nologo"\r
+@set "INCLUDE=%XEDK%\include\xbox"\r
 \r
 @if "%1" neq "debug" goto :NODEBUG\r
 @shift\r
-@set LJCOMPILE="%LJCOMPILE%" /Zi\r
+@set "LJCOMPILE=%LJCOMPILE% /Zi"\r
 :NODEBUG\r
 @if "%1"=="amalg" goto :AMALG\r
 %LJCOMPILE% /DLUA_BUILD_AS_DLL lj_*.c lib_*.c\r