aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-01-06 11:12:06 -0800
committerElliott Hughes <enh@google.com>2016-01-06 11:12:06 -0800
commit2489161ce5d65421030d09fac7fe09d217bb0981 (patch)
treead054832d11e168345cd0b713ca73879ce30db84
parent1464f6d8d9d560ed57bd878b822b2611c821b8bd (diff)
downloadbionic-2489161ce5d65421030d09fac7fe09d217bb0981.tar.gz
Temporary hack to avoid stack protector crashes.
It'll take me a while to refactor things cleanly, but if we just want something that boots for testing... Bug: http://b/26276517 Change-Id: I24729d3dc546e36e0eff383f0d1d05c3aa1f2e0b
-rw-r--r--libc/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index 83e1fb505..d5a57c342 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -616,6 +616,7 @@ libc_openbsd_src_files_32 += \
libc_common_cflags := \
-D_LIBC=1 \
-Wall -Wextra -Wunused \
+ -fno-stack-protector \
use_clang := $(USE_CLANG_PLATFORM_BUILD)