Align flags with make
This pulls a number of cflag changes from make since our last sync.
Change-Id: I8c77fc215ed7677b8ac15a6d39143b519068dd55
diff --git a/cc/arm64_device.go b/cc/arm64_device.go
index 157b273..c861498 100644
--- a/cc/arm64_device.go
+++ b/cc/arm64_device.go
@@ -25,7 +25,7 @@
"-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 @@
"-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.