mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 16:41:12 +02:00
Recompile LuaJIT for Android with debug information.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -35,7 +35,7 @@ goto :done
|
||||
if exist android\%1\libluajit.a exit /b 0
|
||||
wsl make clean
|
||||
if not "%ERRORLEVEL%" == "0" goto :error
|
||||
wsl make HOST_LUA=luajit.exe "HOST_CC=clang.exe %4" HOST_CFLAGS=-D_CRT_SECURE_NO_WARNINGS CC=clang CROSS=%2- "STATIC_CC=%2%3-clang -fPIC" "DYNAMIC_CC=%2%3-clang -fPIC" "TARGET_AR=llvm-ar.exe rcus" TARGET_LD=%2%3-clang TARGET_LDFLAGS=-fuse-ld=lld TARGET_STRIP=llvm-strip.exe amalg -j%NUMBER_OF_PROCESSORS%
|
||||
wsl make HOST_LUA=luajit.exe "HOST_CC=clang.exe %4" HOST_CFLAGS=-D_CRT_SECURE_NO_WARNINGS CC=clang CROSS=%2- "STATIC_CC=%2%3-clang -fPIC" "DYNAMIC_CC=%2%3-clang -fPIC" "TARGET_AR=llvm-ar.exe rcus" TARGET_LD=%2%3-clang CCDEBUG=-g TARGET_LDFLAGS=-fuse-ld=lld TARGET_STRIP=llvm-strip.exe amalg -j%NUMBER_OF_PROCESSORS%
|
||||
if not "%ERRORLEVEL%" == "0" goto :error
|
||||
copy src\libluajit.a android\%1\libluajit.a
|
||||
if not "%ERRORLEVEL%" == "0" goto :error
|
||||
@@ -43,9 +43,16 @@ xcopy src\jit android\%1\jit /I
|
||||
del android\%1\jit\.gitignore
|
||||
goto :done
|
||||
|
||||
:post_cleanup
|
||||
del src\host\buildvm.ilk
|
||||
del src\host\buildvm.pdb
|
||||
exit /b 0
|
||||
|
||||
:error
|
||||
call :post_cleanup
|
||||
exit /b 1
|
||||
|
||||
:done
|
||||
wsl make clean
|
||||
call :post_cleanup
|
||||
exit /b 0
|
||||
|
||||
Reference in New Issue
Block a user