chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82afb36
)
Drop old --fix-cortex-a8 flag
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sat, 15 Jul 2017 07:59:30 +0000
(09:59 +0200)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sat, 15 Jul 2017 07:59:30 +0000
(09:59 +0200)
build-package.sh
patch
|
blob
|
blame
|
history
diff --git
a/build-package.sh
b/build-package.sh
index 05bec428cee46ca3611cd837fab6e8bfd53b77bb..7057ac82590ea5cf9a815e00773dc6487c807b2d 100755
(executable)
--- 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"