diff --git a/tools/build-nzp-linux32.sh b/tools/build-nzp-linux32.sh index c68d4a211..ef71bb900 100755 --- a/tools/build-nzp-linux32.sh +++ b/tools/build-nzp-linux32.sh @@ -1,2 +1,4 @@ cd ../engine -make makelibs FTE_TARGET=linux32 && make m-rel FTE_TARGET=linux32 FTE_CONFIG=nzportable -j32 \ No newline at end of file +export CC=i686-linux-gnu-gcc +export STRIP=i686-linux-gnu-strip +make makelibs FTE_TARGET=SDL2 && make m-rel FTE_TARGET=SDL2 FTE_CONFIG=nzportable -j32 diff --git a/tools/build-nzp-linux64.sh b/tools/build-nzp-linux64.sh index 8c959a3c5..c0ac3d205 100755 --- a/tools/build-nzp-linux64.sh +++ b/tools/build-nzp-linux64.sh @@ -1,2 +1,4 @@ cd ../engine -make makelibs FTE_TARGET=linux64 && make m-rel FTE_TARGET=linux64 FTE_CONFIG=nzportable -j32 +export CC=x86_64-linux-gnu-gcc +export STRIP=x86_64-linux-gnu-strip +make makelibs FTE_TARGET=SDL2 && make m-rel FTE_TARGET=SDL2 FTE_CONFIG_=nzportable -j32 diff --git a/tools/build-nzp-linux_arm64.sh b/tools/build-nzp-linux_arm64.sh index f826cb0f4..07af95216 100755 --- a/tools/build-nzp-linux_arm64.sh +++ b/tools/build-nzp-linux_arm64.sh @@ -1,2 +1,4 @@ cd ../engine -make makelibs FTE_TARGET=linux_arm64 && make m-rel FTE_TARGET=linux_arm64 FTE_CONFIG=nzportable -j32 \ No newline at end of file +export CC=aarch64-linux-gnu-gcc +export STRIP=aarch64-linux-gnu-strip +make makelibs FTE_TARGET=SDL2 && make m-rel FTE_TARGET=SDL2 FTE_CONFIG=nzportable -j32 diff --git a/tools/build-nzp-linux_armhf.sh b/tools/build-nzp-linux_armhf.sh index 2a6955a01..5bcecb89c 100755 --- a/tools/build-nzp-linux_armhf.sh +++ b/tools/build-nzp-linux_armhf.sh @@ -1,2 +1,4 @@ cd ../engine -make makelibs FTE_TARGET=linux_armhf && make m-rel FTE_TARGET=linux_armhf FTE_CONFIG=nzportable -j32 \ No newline at end of file +export CC=arm-linux-gnueabihf-gcc +export STRIP=arm-linux-gnueabihf-strip +make makelibs FTE_TARGET=SDL2 && make m-rel FTE_TARGET=SDL2 FTE_CONFIG=nzportable -j32 diff --git a/tools/build-nzp-macosx_x86.sh b/tools/build-nzp-macosx_x86.sh index e8e80ec50..2c8c113b5 100755 --- a/tools/build-nzp-macosx_x86.sh +++ b/tools/build-nzp-macosx_x86.sh @@ -1,4 +1,4 @@ export MACOSX_DEPLOYMENT_TARGET=10.14 osxcross-macports install libsdl2 libsdl cd ../engine -make makelibs FTE_TARGET=macosx_x86 && make m-rel FTE_TARGET=macosx_x86 FTE_CONFIG=nzportable -j8 \ No newline at end of file +make makelibs FTE_TARGET=macosx_x86 && make m-rel FTE_TARGET=macosx_x86 FTE_CONFIG=nzportable -j8