diff options
author | Colin Cross <ccross@android.com> | 2021-12-20 16:33:29 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-12-20 16:33:29 -0800 |
commit | 2b8decccb9d99ba2fa9ce73a2cec6669008466c6 (patch) | |
tree | 8b2c01f6ecd578cd03ee8ffc246b621759183406 | |
parent | ff243c3ea896544e388b195cc07300cfc836b39f (diff) | |
download | google-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.bp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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: [ |