aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2019-05-06 20:13:01 -0700
committerYi Kong <yikong@google.com>2019-05-07 21:12:49 +0000
commit94b9b2655d14811f6782e55a630ad168b0537de4 (patch)
tree0e30c4fde0f159a2dbf8b7cd2942618fb9c83915
parentb0e95c1e60027cc7ffe0d29765719e89635c4c44 (diff)
downloadbuild_soong-94b9b2655d14811f6782e55a630ad168b0537de4.tar.gz
build_soong-94b9b2655d14811f6782e55a630ad168b0537de4.tar.bz2
build_soong-94b9b2655d14811f6782e55a630ad168b0537de4.zip
Exclude libgcc_stripped wherever libgcc is excluded
Test: manual testing Bug: 130267141 Bug: 29275768 Change-Id: Idbe82ea4a3e5cb9a9a7c194dd0a4d8a282d56c03 Merged-In: Icc0d50e403dc4a3592e5bf389101cdef129042df (cherry picked from commit 3d8792f7dd02a203a911e748d33b53609ae70e92)
-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 7775e9e8..815c31d8 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -84,6 +84,7 @@ var (
"-Wl,--fatal-warnings",
"-Wl,--no-undefined-version",
"-Wl,--exclude-libs,libgcc.a",
+ "-Wl,--exclude-libs,libgcc_stripped.a",
}
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),