OSDN Git Service

mksh: allow -fstack-protector-strong.
authorElliott Hughes <enh@google.com>
Mon, 15 Oct 2018 22:59:49 +0000 (15:59 -0700)
committerElliott Hughes <enh@google.com>
Mon, 15 Oct 2018 22:59:49 +0000 (15:59 -0700)
Our original aim here was to use stack-protector where possible, but
that ironically ended up with us having _worse_ stack protection than
the current default.

Bug: N/A
Test: boots
Change-Id: Iac0f6b2e8ebd670d9c1abfe2ff314ed39c130ff2

Android.bp

index 1f846b0..cb2d43c 100644 (file)
@@ -32,7 +32,6 @@ cc_defaults {
         "-Wno-deprecated-declarations",
         "-fno-asynchronous-unwind-tables",
         "-fno-strict-aliasing",
-        "-fstack-protector",
         "-fwrapv",
 
         // ...various options we choose