Skip to content

Commit

Permalink
Android: Update build script to build LuaJIT with 16KB page size.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Dec 17, 2024
1 parent afe097c commit 84620b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libs/LuaJIT/android_build_readme.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ goto :error
:ljdetermined

rem ARMv8
call :compile arm64-v8a aarch64-linux-android 21
call :compile arm64-v8a aarch64-linux-android 21 "" "-Wl,-z,max-page-size=16384"
if "%ERRORLEVEL%" == "1" goto :error

rem ARMv7
Expand All @@ -43,7 +43,7 @@ call :compile x86 i686-linux-android 21 -m32
if not "%ERRORLEVEL%" == "0" goto :error

rem x86_64
call :compile x86_64 x86_64-linux-android 21
call :compile x86_64 x86_64-linux-android 21 "" "-Wl,-z,max-page-size=16384"
if not "%ERRORLEVEL%" == "0" goto :error

goto :done
Expand All @@ -63,7 +63,8 @@ wsl make ^
"TARGET_AR=llvm-ar.exe rcus" ^
TARGET_SYS=Linux ^
TARGET_LD=%2%3-clang ^
TARGET_LDFLAGS=-fuse-ld=lld ^
TARGET_LDFLAGS="-fuse-ld=lld %5"^
TARGET_SHLDFLAGS="%5" ^
TARGET_STRIP=llvm-strip.exe ^
TARGET_SONAME=libluajit.so ^
CCDEBUG=-g ^
Expand Down

0 comments on commit 84620b7

Please sign in to comment.