Do not use clang lld with -z,global
Bug: 80109858
Test: bionic unit test dlfcn.dlsym_df_1_global
Change-Id: Icc754385e54a5cd70312c60c635c094a27249442
diff --git a/tests/libs/Android.bp b/tests/libs/Android.bp
index c1f1590..c1f5f1c 100644
--- a/tests/libs/Android.bp
+++ b/tests/libs/Android.bp
@@ -531,6 +531,8 @@
defaults: ["bionic_testlib_defaults"],
srcs: ["dl_df_1_global.cpp"],
ldflags: ["-Wl,-z,global"],
+ // b/80109858, clang lld ignores -z,global
+ use_clang_lld: false,
target: {
host: {
@@ -559,6 +561,8 @@
defaults: ["bionic_testlib_defaults"],
srcs: ["dl_df_1_global_dummy.cpp"],
ldflags: ["-Wl,-z,global"],
+ // b/80109858, clang lld ignores -z,global
+ use_clang_lld: false,
target: {
host: {