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:
6097e55
)
Add comment about DT_RUNPATH in Android 7
author
Fredrik Fornwall
<fredrik@fornwall.net>
Wed, 12 Oct 2016 22:57:22 +0000
(18:57 -0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Wed, 12 Oct 2016 22:57:22 +0000
(18:57 -0400)
build-package.sh
patch
|
blob
|
blame
|
history
diff --git
a/build-package.sh
b/build-package.sh
index f213e511de42bb807d0ce123226102d925efa730..5e67cfb8bb08ffda082a47538a65a48542a3a82a 100755
(executable)
--- a/
build-package.sh
+++ b/
build-package.sh
@@
-599,6
+599,9
@@
export STRIP=$TERMUX_HOST_PLATFORM-strip
export CFLAGS="$_SPECSFLAG"
export LDFLAGS="$_SPECSFLAG -L${TERMUX_PREFIX}/lib"
+# Android 7 started to support DT_RUNPATH (but not DT_RPATH), so we may want
+# "-Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" here in the future
+# - and no longer remove DT_RUNPATH in termux-elf-cleaner.
if [ "$TERMUX_ARCH" = "arm" ]; then
CFLAGS+=" -march=armv7-a -mfpu=neon -mfloat-abi=softfp"