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

Commit 1380ddca authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Copy the bionic -fstack-protector hack into libbacktrace.

aarch64 doesn't support -fstack-protector yet.

Change-Id: Id1e589742ba074f59d3390d059248c9b371aff58
parent 21ecc30c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -148,6 +148,11 @@ LOCAL_CFLAGS += \
	-DGTEST_OS_LINUX_ANDROID \
	-DGTEST_HAS_STD_STRING \

ifeq ($(TARGET_ARCH),aarch64)
  $(info TODO: $(LOCAL_PATH)/Android.mk -fstack-protector not yet available for the AArch64 toolchain)
  LOCAL_CFLAGS += -fno-stack-protector
endif # aarch64

LOCAL_CONLYFLAGS += \
	$(common_conlyflags) \