aboutsummaryrefslogtreecommitdiffstats
path: root/cc/arm64_device.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-01-13 21:32:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-13 21:32:04 +0000
commita60cfde3f1da1015ba66bb0965079ded6913069d (patch)
treedd7ea33f060798153f8d68771cc993988b99c259 /cc/arm64_device.go
parent6ec1c7b9646a224bda029685e2db216fb1ae3952 (diff)
parent7a0f848998067a61531b01699fa5d436670c0e36 (diff)
downloadbuild_soong-a60cfde3f1da1015ba66bb0965079ded6913069d.tar.gz
build_soong-a60cfde3f1da1015ba66bb0965079ded6913069d.tar.bz2
build_soong-a60cfde3f1da1015ba66bb0965079ded6913069d.zip
Merge "Align flags with make"
Diffstat (limited to 'cc/arm64_device.go')
-rw-r--r--cc/arm64_device.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/arm64_device.go b/cc/arm64_device.go
index 157b273e..c8614983 100644
--- a/cc/arm64_device.go
+++ b/cc/arm64_device.go
@@ -25,7 +25,7 @@ var (
"-fno-exceptions", // from build/core/combo/select.mk
"-Wno-multichar", // from build/core/combo/select.mk
"-fno-strict-aliasing",
- "-fstack-protector",
+ "-fstack-protector-strong",
"-ffunction-sections",
"-fdata-sections",
"-funwind-tables",
@@ -61,6 +61,8 @@ var (
"-Wl,-maarch64linux",
"-Wl,--hash-style=gnu",
"-Wl,--fix-cortex-a53-843419",
+ "-fuse-ld=gold",
+ "-Wl,--icf=safe",
"-Wl,--no-undefined-version",
// Disable transitive dependency library symbol resolving.