aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-12-04 11:06:59 -0800
committerElliott Hughes <enh@google.com>2019-12-06 22:07:10 +0000
commit3647103507a37ea5c70c112040a006149d10858c (patch)
tree77b130f5c38d66f21f5599e49defe40fd322e08e
parent9ba4c4a4cde4c3e0e2f5ccdbe30400ad86cff7ce (diff)
downloadmdnsresponder-3647103507a37ea5c70c112040a006149d10858c.tar.gz
Disable -Wpragma-pack for this project.
This is only in the Windows build, and only affects an internal header, so just turning the warning off probably makes more sense than carrying a local patch. Exempt-From-Owner-Approval: janitorial. Bug: http://b/73971777 Test: treehugger Change-Id: I995df0c3dd245a6dee482c3938f19a65a3570dd5
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b472344..42d50b1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -185,6 +185,7 @@ cc_library {
"-DNOT_HAVE_SA_LENGTH",
"-Wno-unknown-pragmas",
"-Wno-overflow",
+ "-Wno-pragma-pack",
"-include iphlpapi.h",
"-include stdlib.h",
"-include stdio.h",