diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2016-01-12 16:22:40 -0800 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2016-01-12 23:30:13 -0800 |
| commit | 7a0f848998067a61531b01699fa5d436670c0e36 (patch) | |
| tree | 8e30d622fcd36433122892c57c31d444c5e2179c /cc/arm64_device.go | |
| parent | e0378dd4df0e121863cd506307b3658acc34fa55 (diff) | |
| download | build_soong-7a0f848998067a61531b01699fa5d436670c0e36.tar.gz build_soong-7a0f848998067a61531b01699fa5d436670c0e36.tar.bz2 build_soong-7a0f848998067a61531b01699fa5d436670c0e36.zip | |
Align flags with make
This pulls a number of cflag changes from make since our last sync.
Change-Id: I8c77fc215ed7677b8ac15a6d39143b519068dd55
Diffstat (limited to 'cc/arm64_device.go')
| -rw-r--r-- | cc/arm64_device.go | 4 |
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. |
