diff --git a/libdl/Android.bp b/libdl/Android.bp index b1ee5ab22..fbbe7ba29 100644 --- a/libdl/Android.bp +++ b/libdl/Android.bp @@ -47,6 +47,7 @@ cc_library { ldflags: [ "-Wl,--exclude-libs=libgcc.a", + "-Wl,--exclude-libs=libgcc_stripped.a", "-Wl,--exclude-libs=libclang_rt.builtins-arm-android.a", "-Wl,--exclude-libs=libclang_rt.builtins-aarch64-android.a", "-Wl,--exclude-libs=libclang_rt.builtins-x86-android.a", @@ -127,6 +128,7 @@ cc_library { ldflags: [ "-Wl,--exclude-libs=libgcc.a", + "-Wl,--exclude-libs=libgcc_stripped.a", "-Wl,--exclude-libs=libclang_rt.builtins-arm-android.a", "-Wl,--exclude-libs=libclang_rt.builtins-aarch64-android.a", "-Wl,--exclude-libs=libclang_rt.builtins-x86-android.a", diff --git a/linker/Android.bp b/linker/Android.bp index 95fd4f771..e908678fb 100644 --- a/linker/Android.bp +++ b/linker/Android.bp @@ -318,6 +318,7 @@ cc_library { ldflags: [ "-Wl,--exclude-libs=libgcc.a", + "-Wl,--exclude-libs=libgcc_stripped.a", "-Wl,--exclude-libs=libclang_rt.builtins-arm-android.a", "-Wl,--exclude-libs=libclang_rt.builtins-aarch64-android.a", "-Wl,--exclude-libs=libclang_rt.builtins-x86-android.a",