aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config/global.go
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-04-10 17:57:50 -0700
committerChristopher Ferris <cferris@google.com>2019-04-10 19:23:47 -0700
commitcf788674176513efca5773cea0701e636669a057 (patch)
tree5e99a65ffe2f7a196b644a8ae23d3bcc7106b284 /cc/config/global.go
parent479465691f305b402aa3cf65cc092fcd985fa0cf (diff)
downloadbuild_soong-cf788674176513efca5773cea0701e636669a057.tar.gz
build_soong-cf788674176513efca5773cea0701e636669a057.tar.bz2
build_soong-cf788674176513efca5773cea0701e636669a057.zip
Do not re-export _Unwind_XXX symbols.
Bug: 130267141 Test: All system shared libraries do not contain global _Unwind_XXX symbols. Change-Id: I79673753bb8197041bfe8ffb016d9f5fdf4cada5
Diffstat (limited to 'cc/config/global.go')
-rw-r--r--cc/config/global.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/config/global.go b/cc/config/global.go
index 372ffc47..07ef9d00 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -83,6 +83,7 @@ var (
"-Wl,--warn-shared-textrel",
"-Wl,--fatal-warnings",
"-Wl,--no-undefined-version",
+ "-Wl,--exclude-libs,libgcc.a",
}
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),