瀏覽代碼

Fix quoting in xedkbuild.bat.

Mike Pall 12 年之前
父節點
當前提交
b6ec7c7c86
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/xedkbuild.bat

+ 4 - 4
src/xedkbuild.bat

@@ -54,13 +54,13 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
 @if errorlevel 1 goto :BAD
 
 @rem ---- Cross compiler ----
-@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
-@set LJLIB="%XEDK%\bin\win32\lib" /nologo
-@set INCLUDE="%XEDK%\include\xbox"
+@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"
+@set "LJLIB=%XEDK%\bin\win32\lib /nologo"
+@set "INCLUDE=%XEDK%\include\xbox"
 
 @if "%1" neq "debug" goto :NODEBUG
 @shift
-@set LJCOMPILE="%LJCOMPILE%" /Zi
+@set "LJCOMPILE=%LJCOMPILE% /Zi"
 :NODEBUG
 @if "%1"=="amalg" goto :AMALG
 %LJCOMPILE% /DLUA_BUILD_AS_DLL lj_*.c lib_*.c