diff options
author | Thanasis Antoniou | 2019-10-05 18:00:51 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-10-05 20:42:27 +0300 |
commit | afad06b1800a8d70d164f4266196e49987076740 (patch) | |
tree | a6227d09b8f3ddcc36661b1c441e3de44147a387 | |
parent | 9a935be7fbb9c3a811b5dbeac82bb3b9c8661de8 (diff) | |
download | scummvm-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-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" ;; |