summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-01-15 00:57:41 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-15 00:57:41 +0000
commit7dee721eb3387fff695e5b5a3480428bccb3cf70 (patch)
treee22e2c237a7e6b1edc0c4b7f803d817017798ed3
parentb6e70fce5365c596a7b0b22cd3ba75c5d7ef6430 (diff)
parent42e82f80fef7b1f13c9c3ab184cea065f4f4edbc (diff)
downloadsystem_core-7dee721eb3387fff695e5b5a3480428bccb3cf70.zip
system_core-7dee721eb3387fff695e5b5a3480428bccb3cf70.tar.gz
system_core-7dee721eb3387fff695e5b5a3480428bccb3cf70.tar.bz2
am 42e82f80: am 4a8996fb: am 3352c503: Merge "Copy the bionic -fstack-protector hack into libbacktrace."
* commit '42e82f80fef7b1f13c9c3ab184cea065f4f4edbc': Copy the bionic -fstack-protector hack into libbacktrace.
-rw-r--r--libbacktrace/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbacktrace/Android.mk b/libbacktrace/Android.mk
index 8995fc1..d2fd79e 100644
--- a/libbacktrace/Android.mk
+++ b/libbacktrace/Android.mk
@@ -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) \