mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Fix hard floats on Android
This commit is contained in:
parent
3e171d51f7
commit
c1d91eed59
@ -381,9 +381,9 @@ ifeq ($(IS_ARM32),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=$(FP_ABI) -mfpu=neon
|
||||
NEON_FLAG = -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mfpu=neon
|
||||
else
|
||||
NEON_FLAG = -march=armv7-a -mfloat-abi=softfp -mfpu=neon
|
||||
NEON_FLAG = -march=armv7-a -mfloat-abi=$(FP_ABI) -mfpu=neon
|
||||
endif
|
||||
|
||||
TPROG = TestPrograms/test_arm_neon.cxx
|
||||
@ -605,11 +605,6 @@ ifeq ($(findstring lean,$(MAKECMDGOALS)),lean)
|
||||
endif # MAKECMDGOALS
|
||||
endif # Dead code stripping
|
||||
|
||||
# Andoid linker needs the NEON flags added.
|
||||
ifeq ($(IS_ANDROID),1)
|
||||
LDFLAGS += $(NEON_FLAG)
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
##### Source and object files #####
|
||||
###########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user