aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-02-02 17:56:20 +0000
committerEric Biggers <ebiggers@google.com>2023-02-02 18:39:41 +0000
commit0ed82a3f0a393605b56672704379f4fc1e53d281 (patch)
treebe995d80680bfc1aa89ca8c35157a25477eeab0e
parent1c856d2bbde5b5c9f731ca9d1704aab333097411 (diff)
downloade2fsprogs-0ed82a3f0a393605b56672704379f4fc1e53d281.tar.gz
Revert "Android: stop suppressing warnings from macOS build"
Unfortunately, the macOS build is not tested either by presubmit or by local builds. A macOS build *is* being tested in the upstream GitHub Actions workflow now; however, that uses the autotools-based build system, and there can be issues specific to the Android build system. As a result, removing -Wno-error was not safe yet, and the macOS build is currently broken in postsubmit. As there could be multiple issues, let's restore -Wno-error until I've had a chance to fix the warnings. Bug: 267448785 Change-Id: I305f73d1f8637477da3d57b6c93037a6e3d9e829
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 1e6aa1a5..9e229dda 100644
--- a/Android.bp
+++ b/Android.bp
@@ -62,6 +62,10 @@ cc_defaults {
"libdl",
],
},
+ darwin: {
+ // Still has unfixed/unsuppressed warnings.
+ cflags: ["-Wno-error"],
+ },
windows: {
include_dirs: ["external/e2fsprogs/include/mingw"],
},