diff options
author | Eric Biggers <ebiggers@google.com> | 2021-06-15 21:48:08 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-07-27 12:28:18 -0400 |
commit | 3e3403d96d6c5ee27f6c53f885a99c34230ca40a (patch) | |
tree | 791d4f172b807570dbfd2410f6d10e7128d97693 | |
parent | 64348f6e292522c7738794d5be4607f720bf838a (diff) | |
download | e2fsprogs-3e3403d96d6c5ee27f6c53f885a99c34230ca40a.tar.gz |
AOSP: Use -Wno-pointer-arith in Android build
Some "arithmetic on a void pointer is a GNU extension" warnings were
introduced into upstream e2fsprogs, but they are of questionable value,
so disable them for now.
Change-Id: I19e99382e9434828927c1b8287b91f3333110151
From AOSP commit: f203c38fd43dc384cedfcaeb155771a15906022f
-rw-r--r-- | Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp index f9c3b6f83..fa2d0153c 100644 --- a/Android.bp +++ b/Android.bp @@ -42,7 +42,7 @@ license { cc_defaults { name: "e2fsprogs-defaults", - cflags: ["-Wall", "-Werror"], + cflags: ["-Wall", "-Werror", "-Wno-pointer-arith"], target: { darwin: { // Still has unfixed/unsuppressed warnings. |