Exclude libclang_rt.builtins symbols
Similar to libgcc, libclang_rt.builtins symbols need to be excluded. Bug: 29275768 Change-Id: Iaf7381de3b4dbd92997abd03667dea0baaab98e1
This commit is contained in:
parent
fc85c3c847
commit
7786a344ce
|
@ -43,7 +43,13 @@ cc_library {
|
||||||
//
|
//
|
||||||
// DO NOT REMOVE --exclude-libs!
|
// DO NOT REMOVE --exclude-libs!
|
||||||
|
|
||||||
ldflags: ["-Wl,--exclude-libs=libgcc.a"],
|
ldflags: [
|
||||||
|
"-Wl,--exclude-libs=libgcc.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",
|
||||||
|
"-Wl,--exclude-libs=libclang_rt.builtins-x86_64-android.a",
|
||||||
|
],
|
||||||
|
|
||||||
// for x86, exclude libgcc_eh.a for the same reasons as above
|
// for x86, exclude libgcc_eh.a for the same reasons as above
|
||||||
arch: {
|
arch: {
|
||||||
|
|
|
@ -244,7 +244,13 @@ cc_library {
|
||||||
//
|
//
|
||||||
// DO NOT REMOVE --exclude-libs!
|
// DO NOT REMOVE --exclude-libs!
|
||||||
|
|
||||||
ldflags: ["-Wl,--exclude-libs=libgcc.a"],
|
ldflags: [
|
||||||
|
"-Wl,--exclude-libs=libgcc.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",
|
||||||
|
"-Wl,--exclude-libs=libclang_rt.builtins-x86_64-android.a",
|
||||||
|
],
|
||||||
|
|
||||||
// for x86, exclude libgcc_eh.a for the same reasons as above
|
// for x86, exclude libgcc_eh.a for the same reasons as above
|
||||||
arch: {
|
arch: {
|
||||||
|
|
Loading…
Reference in New Issue