|
@ -24,9 +24,8 @@ termux_step_setup_toolchain() { |
|
|
export READELF=$TERMUX_HOST_PLATFORM-readelf |
|
|
export READELF=$TERMUX_HOST_PLATFORM-readelf |
|
|
export STRIP=$TERMUX_HOST_PLATFORM-strip |
|
|
export STRIP=$TERMUX_HOST_PLATFORM-strip |
|
|
|
|
|
|
|
|
# Android 7 started to support DT_RUNPATH (but not DT_RPATH), so we may want |
|
|
# Android 7 started to support DT_RUNPATH (but not DT_RPATH). |
|
|
# LDFLAGS+="-Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" |
|
|
LDFLAGS+=" -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" |
|
|
# and no longer remove DT_RUNPATH in termux-elf-cleaner. |
|
|
|
|
|
|
|
|
|
|
|
if [ "$TERMUX_ARCH" = "arm" ]; then |
|
|
if [ "$TERMUX_ARCH" = "arm" ]; then |
|
|
# https://developer.android.com/ndk/guides/standalone_toolchain.html#abi_compatibility: |
|
|
# https://developer.android.com/ndk/guides/standalone_toolchain.html#abi_compatibility: |
|
|