diff --git a/dist-build/android-arm.sh b/dist-build/android-arm.sh index 792c81ce..04be368c 100755 --- a/dist-build/android-arm.sh +++ b/dist-build/android-arm.sh @@ -1,4 +1,3 @@ #!/bin/sh -export CFLAGS="-Os -mthumb" -export LDFLAGS="-mthumb" +export CFLAGS="-Os -mthumb -marm -march=armv6" TARGET_ARCH=arm HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh" diff --git a/dist-build/android-armv7.sh b/dist-build/android-armv7.sh new file mode 100755 index 00000000..c6280b86 --- /dev/null +++ b/dist-build/android-armv7.sh @@ -0,0 +1,3 @@ +#!/bin/sh +export CFLAGS="-Os -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -marm -march=armv7-a" +TARGET_ARCH=armv7 HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh" diff --git a/dist-build/android-mips.sh b/dist-build/android-mips.sh index 74c8da6b..0fb04312 100755 --- a/dist-build/android-mips.sh +++ b/dist-build/android-mips.sh @@ -1,2 +1,3 @@ #!/bin/sh +export CFLAGS="-Os" TARGET_ARCH=mips HOST_COMPILER=mipsel-linux-android "$(dirname "$0")/android-build.sh" diff --git a/dist-build/android-x86.sh b/dist-build/android-x86.sh index 669cca10..428511bd 100755 --- a/dist-build/android-x86.sh +++ b/dist-build/android-x86.sh @@ -1,2 +1,3 @@ #!/bin/sh +export CFLAGS="-Os" TARGET_ARCH=x86 HOST_COMPILER=i686-linux-android "$(dirname "$0")/android-build.sh"