Disable fortify tests for musl
musl doesn't have fortify, and is missing the *_chk symbols to allow
the tests to compile.
Bug: 190084016
Test: m USE_HOST_MUSL=true host-native
Change-Id: I9a1d2dfe19db219cd2c5a6dc39cb5d08ed0e4369
diff --git a/tests/Android.bp b/tests/Android.bp
index 3c052be..c077847 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -599,6 +599,10 @@
host: {
clang_cflags: ["-D__clang__"],
},
+ musl: {
+ // Musl doesn't have fortify
+ enabled: false,
+ },
},
}
@@ -720,6 +724,7 @@
cc_test_library {
name: "libBionicTests",
defaults: ["bionic_tests_defaults"],
+ host_supported: false,
whole_static_libs: [
"libBionicStandardTests",
"libBionicElfTlsTests",