Drop old --fix-cortex-a8 flag
This commit is contained in:
parent
1db64a03d7
commit
9c2f926167
@ -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".
|
# "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.
|
# 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"
|
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
|
elif [ "$TERMUX_ARCH" = "i686" ]; then
|
||||||
# From $NDK/docs/CPU-ARCH-ABIS.html:
|
# From $NDK/docs/CPU-ARCH-ABIS.html:
|
||||||
CFLAGS+=" -march=i686 -msse3 -mstackrealign -mfpmath=sse"
|
CFLAGS+=" -march=i686 -msse3 -mstackrealign -mfpmath=sse"
|
||||||
|
Loading…
Reference in New Issue
Block a user