am 8084f8c1: am 2915cc3e: Enable NX protections

This commit is contained in:
Nick Kralevich 2010-05-05 12:52:15 -07:00 committed by Android Git Automerger
commit e6f47ace30

View file

@ -97,12 +97,14 @@ TARGET_GLOBAL_CFLAGS += \
-ffunction-sections \
-funwind-tables \
-fstack-protector \
-Wa,--noexecstack \
-fno-short-enums \
$(arch_variant_cflags) \
-include $(android_config_h) \
-I $(arch_include_dir)
TARGET_GLOBAL_LDFLAGS += \
-Wl,-z,noexecstack \
$(arch_variant_ldflags)
# We only need thumb interworking in cases where thumb support