Fix arm compile flags to match makefile build

Fix a few flags that don't match the makefile build flags in
build/core/combo/TARGET_linux-arm.mk

Change-Id: Ib951da32d7828aff17a32f10ba18ed678b3571de
This commit is contained in:
Colin Cross 2015-03-16 16:12:05 -07:00
parent f294814398
commit 13af54da2d

View file

@ -11,8 +11,7 @@ var (
armCflags = []string{ armCflags = []string{
"-fno-exceptions", // from build/core/combo/select.mk "-fno-exceptions", // from build/core/combo/select.mk
"-Wno-multichar", // from build/core/combo/select.mk "-Wno-multichar", // from build/core/combo/select.mk
"-fno-strict-aliasing", "-msoft-float",
"-fstack-protector",
"-ffunction-sections", "-ffunction-sections",
"-fdata-sections", "-fdata-sections",
"-funwind-tables", "-funwind-tables",
@ -48,7 +47,7 @@ var (
"-Wl,--build-id=md5", "-Wl,--build-id=md5",
"-Wl,--warn-shared-textrel", "-Wl,--warn-shared-textrel",
"-Wl,--fatal-warnings", "-Wl,--fatal-warnings",
"-Wl,-icf=safe", "-Wl,--icf=safe",
"-Wl,--hash-style=gnu", "-Wl,--hash-style=gnu",
// Disable transitive dependency library symbol resolving. // Disable transitive dependency library symbol resolving.