aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-12-20 16:33:29 -0800
committerColin Cross <ccross@android.com>2021-12-20 16:33:29 -0800
commit2b8decccb9d99ba2fa9ce73a2cec6669008466c6 (patch)
tree8b2c01f6ecd578cd03ee8ffc246b621759183406
parentff243c3ea896544e388b195cc07300cfc836b39f (diff)
downloadgoogle-breakpad-2b8decccb9d99ba2fa9ce73a2cec6669008466c6.tar.gz
Unset HAVE_A_OUT_H for musl
musl libc does not have a.out.h, move -DHAVE_A_OUT_H from linux_glibc (which also applies to musl) to glibc. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native -k Change-Id: I46bbfc2ee9853f5ec2a7330b3a7a578b175f023a
-rw-r--r--Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index b37e26f3..594f2b56 100644
--- a/Android.bp
+++ b/Android.bp
@@ -132,9 +132,13 @@ cc_binary_host {
darwin: {
enabled: false,
},
- linux_glibc: {
+ glibc: {
cppflags: [
"-DHAVE_A_OUT_H",
+ ],
+ },
+ linux_glibc: {
+ cppflags: [
"-Wno-unused-parameter",
],
srcs: [