mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-13 00:41:07 +00:00
Update GNUmakefile Android recipe
This commit is contained in:
parent
9e2f5e744e
commit
1be79900e0
@ -113,10 +113,14 @@ endif
|
||||
# Android cross-compile configuration.
|
||||
# See http://www.cryptopp.com/wiki/Android_(Command_Line).
|
||||
ifeq ($(IS_ANDROID),1)
|
||||
CXXFLAGS += $(ANDROID_CXXFLAGS) -D__ANDROID_API__=$(ANDROID_API)
|
||||
CPPFLAGS += -DANDROID -D__ANDROID_API__=$(ANDROID_API)
|
||||
CXXFLAGS += $(ANDROID_CXXFLAGS)
|
||||
CXXFLAGS += --sysroot=$(ANDROID_SYSROOT)
|
||||
CXXFLAGS += -Wa,--noexecstack
|
||||
|
||||
LDFLAGS += -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
|
||||
LDFLAGS += -Wl,--warn-shared-textrel -Wl,--fatal-warnings
|
||||
|
||||
# Source files copied into PWD for Android cpu-features
|
||||
# setenv-android.sh does the copying. Its a dirty compile.
|
||||
ANDROID_CPU_OBJ = cpu-features.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user