diff options
-rw-r--r-- | src/ps4build.bat | 4 | ||||
-rw-r--r-- | src/ps5build.bat | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ps4build.bat b/src/ps4build.bat index fdd09d81..034e2c87 100644 --- a/src/ps4build.bat +++ b/src/ps4build.bat | |||
@@ -51,7 +51,7 @@ if exist minilua.exe.manifest^ | |||
51 | minilua %DASM% -LN %DASMFLAGS% -o host\buildvm_arch.h %DASC% | 51 | minilua %DASM% -LN %DASMFLAGS% -o host\buildvm_arch.h %DASC% |
52 | @if errorlevel 1 goto :BAD | 52 | @if errorlevel 1 goto :BAD |
53 | 53 | ||
54 | %LJCOMPILE% /I "." /I %DASMDIR% %GC64% -DLUAJIT_TARGET=LUAJIT_ARCH_X64 -DLUAJIT_OS=LUAJIT_OS_OTHER -DLUAJIT_DISABLE_JIT -DLUAJIT_DISABLE_FFI -DLUAJIT_NO_UNWIND host\buildvm*.c | 54 | %LJCOMPILE% /I "." /I %DASMDIR% %GC64% -DLUAJIT_TARGET=LUAJIT_ARCH_X64 -DLUAJIT_OS=LUAJIT_OS_OTHER -DLUAJIT_DISABLE_JIT -DLUAJIT_DISABLE_FFI -DLUAJIT_USE_SYSMALLOC -DLUAJIT_NO_UNWIND host\buildvm*.c |
55 | @if errorlevel 1 goto :BAD | 55 | @if errorlevel 1 goto :BAD |
56 | %LJLINK% /out:buildvm.exe buildvm*.obj | 56 | %LJLINK% /out:buildvm.exe buildvm*.obj |
57 | @if errorlevel 1 goto :BAD | 57 | @if errorlevel 1 goto :BAD |
@@ -78,7 +78,7 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c | |||
78 | @set LJLIB="%SCE_ORBIS_SDK_DIR%\host_tools\bin\orbis-ar" rcus | 78 | @set LJLIB="%SCE_ORBIS_SDK_DIR%\host_tools\bin\orbis-ar" rcus |
79 | @set INCLUDE="" | 79 | @set INCLUDE="" |
80 | 80 | ||
81 | orbis-as -o lj_vm.o lj_vm.s | 81 | "%SCE_ORBIS_SDK_DIR%\host_tools\bin\orbis-as" -o lj_vm.o lj_vm.s |
82 | 82 | ||
83 | @if "%1" neq "debug" goto :NODEBUG | 83 | @if "%1" neq "debug" goto :NODEBUG |
84 | @shift | 84 | @shift |
diff --git a/src/ps5build.bat b/src/ps5build.bat index 0b1ebd5b..56818c2e 100644 --- a/src/ps5build.bat +++ b/src/ps5build.bat | |||
@@ -74,11 +74,11 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c | |||
74 | @if errorlevel 1 goto :BAD | 74 | @if errorlevel 1 goto :BAD |
75 | 75 | ||
76 | @rem ---- Cross compiler ---- | 76 | @rem ---- Cross compiler ---- |
77 | @set LJCOMPILE="%SCE_PROSPERO_SDK_DIR%\host_tools\bin\prospero-clang" -c -Wall -DLUAJIT_DISABLE_FFI %GC64% | 77 | @set LJCOMPILE="%SCE_PROSPERO_SDK_DIR%\host_tools\bin\prospero-clang" -c -Wall -DLUAJIT_DISABLE_FFI -DLUAJIT_USE_SYSMALLOC %GC64% |
78 | @set LJLIB="%SCE_PROSPERO_SDK_DIR%\host_tools\bin\prospero-llvm-ar" rcus | 78 | @set LJLIB="%SCE_PROSPERO_SDK_DIR%\host_tools\bin\prospero-llvm-ar" rcus |
79 | @set INCLUDE="" | 79 | @set INCLUDE="" |
80 | 80 | ||
81 | %SCE_PROSPERO_SDK_DIR%\host_tools\bin\prospero-llvm-as -o lj_vm.o lj_vm.s | 81 | "%SCE_PROSPERO_SDK_DIR%\host_tools\bin\prospero-clang" -c -o lj_vm.o lj_vm.s |
82 | 82 | ||
83 | @if "%1" neq "debug" goto :NODEBUG | 83 | @if "%1" neq "debug" goto :NODEBUG |
84 | @shift | 84 | @shift |