diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-02-13 17:05:31 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-02-13 17:05:31 -0500 |
commit | d305130060e5740413b12e297dd061a586a02c98 (patch) | |
tree | 513b08e70464c129bc54d83386b9f426ab5a1c72 /GNUmakefile-cross | |
parent | b28d2d4a7efd63ebc8a2026bf369fb8de940f45c (diff) | |
download | cryptopp-git-d305130060e5740413b12e297dd061a586a02c98.tar.gz |
Remove FP_ABI from GNUmakefile-cross
Android NDK r19 and above no longer use it
Diffstat (limited to 'GNUmakefile-cross')
-rwxr-xr-x | GNUmakefile-cross | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/GNUmakefile-cross b/GNUmakefile-cross index ab3c8ece..fed0a539 100755 --- a/GNUmakefile-cross +++ b/GNUmakefile-cross @@ -5,8 +5,6 @@ SHELL = /bin/sh # If needed TMPDIR ?= /tmp -# Used for ARMv7a and NEON. Android hard codes softfp -FP_ABI ?= hard # Used for feature tests TOUT ?= a.out TOUT := $(strip $(TOUT)) @@ -387,9 +385,9 @@ ifeq ($(DETECT_FEATURES),1) # Android needs -c compile flag for NEON. Otherwise there's an odd linker message. ifeq ($(IS_ANDROID),1) - NEON_FLAG = -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mfpu=neon + NEON_FLAG = -march=armv7-a -mfpu=vfpv3-d16 -mfpu=neon else - NEON_FLAG = -march=armv7-a -mfloat-abi=$(FP_ABI) -mfpu=neon + NEON_FLAG = -march=armv7-a -mfpu=neon endif # Clang needs an option to include <arm_neon.h> |