From 3d8792f7dd02a203a911e748d33b53609ae70e92 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Mon, 6 May 2019 16:18:33 -0700 Subject: [PATCH] Exclude libgcc_stripped wherever libgcc is excluded Test: manual testing Bug: 130267141 Bug: 29275768 Change-Id: Icc0d50e403dc4a3592e5bf389101cdef129042df --- cc/config/global.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/config/global.go b/cc/config/global.go index 0a7d98408..24075d9fa 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),