aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanasis Antoniou2019-10-05 18:00:51 +0300
committerThanasis Antoniou2019-10-05 20:42:27 +0300
commitafad06b1800a8d70d164f4266196e49987076740 (patch)
treea6227d09b8f3ddcc36661b1c441e3de44147a387
parent9a935be7fbb9c3a811b5dbeac82bb3b9c8661de8 (diff)
downloadscummvm-rg350-afad06b1800a8d70d164f4266196e49987076740.tar.gz
scummvm-rg350-afad06b1800a8d70d164f4266196e49987076740.tar.bz2
scummvm-rg350-afad06b1800a8d70d164f4266196e49987076740.zip
CONFIGURE: Add "-march=armv7-a" to linker for arm-v7a target
Based on https://developer.android.com/ndk/guides/standalone_toolchain From "ABI Compatibility" section: Also, make sure to provide the following two flags to the linker: -march=armv7-a -Wl,--fix-cortex-a8
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index a2e9ea51fa..9cdf0316fb 100755
--- a/configure
+++ b/configure
@@ -2580,6 +2580,7 @@ case $_host_os in
append_var CXXFLAGS "-march=armv7-a"
append_var CXXFLAGS "-mfloat-abi=softfp"
append_var CXXFLAGS "-mfpu=vfp"
+ append_var LDFLAGS "-march=armv7-a"
append_var LDFLAGS "-Wl,--fix-cortex-a8"
ABI="armeabi-v7a"
;;