From afad06b1800a8d70d164f4266196e49987076740 Mon Sep 17 00:00:00 2001 From: Thanasis Antoniou Date: Sat, 5 Oct 2019 18:00:51 +0300 Subject: 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 --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') 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" ;; -- cgit v1.2.3