Skip to content

Commit

Permalink
Update GNUmakefile Android recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed Feb 5, 2021
1 parent 46ef68e commit cf2ac06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GNUmakefile-cross
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ ifeq ($(IS_ANDROID),1)
CXXFLAGS += --sysroot=$(ANDROID_SYSROOT)
CXXFLAGS += -Wa,--noexecstack

# Aarch64 ld does not understand --warn-execstack
LDFLAGS += -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
LDFLAGS += -Wl,--warn-shared-textrel -Wl,--warn-common
LDFLAGS += -Wl,--warn-execstack -Wl,--warn-unresolved-symbols
LDFLAGS += -Wl,--warn-unresolved-symbols
LDFLAGS += -Wl,--gc-sections -Wl,--fatal-warnings

# Source files copied into PWD for Android cpu-features
Expand Down

0 comments on commit cf2ac06

Please sign in to comment.