Exclude libgcc_stripped wherever libgcc is excluded

Test: manual testing
Bug: 130267141
Bug: 29275768
Change-Id: Icc0d50e403dc4a3592e5bf389101cdef129042df
This commit is contained in:
Yi Kong
2019-05-06 16:18:33 -07:00
parent ddda3ce23a
commit 3d8792f7dd

View File

@@ -84,6 +84,7 @@ var (
"-Wl,--fatal-warnings", "-Wl,--fatal-warnings",
"-Wl,--no-undefined-version", "-Wl,--no-undefined-version",
"-Wl,--exclude-libs,libgcc.a", "-Wl,--exclude-libs,libgcc.a",
"-Wl,--exclude-libs,libgcc_stripped.a",
} }
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags), deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),