From 9c2f92616766b081d0cb60bc50c8c2a06d36d508 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 15 Jul 2017 09:59:30 +0200 Subject: [PATCH] Drop old --fix-cortex-a8 flag --- build-package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-package.sh b/build-package.sh index 05bec428c..7057ac825 100755 --- a/build-package.sh +++ b/build-package.sh @@ -486,7 +486,7 @@ termux_step_setup_toolchain() { # "We recommend using the -mthumb compiler flag to force the generation of 16-bit Thumb-2 instructions". # With r13 of the ndk ruby 2.4.0 segfaults when built on arm with clang without -mthumb. CFLAGS+=" -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb" - LDFLAGS+=" -march=armv7-a -Wl,--fix-cortex-a8" + LDFLAGS+=" -march=armv7-a" elif [ "$TERMUX_ARCH" = "i686" ]; then # From $NDK/docs/CPU-ARCH-ABIS.html: CFLAGS+=" -march=i686 -msse3 -mstackrealign -mfpmath=sse"