Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8084f8c1 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 2915cc3e: Enable NX protections

parents 41e5e60b 2915cc3e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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