Merge "Copy the bionic -fstack-protector hack into libbacktrace."
This commit is contained in:
commit
3352c50375
1 changed files with 5 additions and 0 deletions
|
|
@ -148,6 +148,11 @@ LOCAL_CFLAGS += \
|
||||||
-DGTEST_OS_LINUX_ANDROID \
|
-DGTEST_OS_LINUX_ANDROID \
|
||||||
-DGTEST_HAS_STD_STRING \
|
-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 += \
|
LOCAL_CONLYFLAGS += \
|
||||||
$(common_conlyflags) \
|
$(common_conlyflags) \
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue