summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-01-25 23:45:33 +0000
committerTheodore Ts'o <tytso@mit.edu>2023-02-01 00:16:39 -0500
commit6605a07f6afe3d9d667ff31855bc607c1904d18b (patch)
tree9f1dd3a1d436bd7a2e5704131d2479afed287d5b
parent97f9109b6633dbf086645c21750ecc5f022d72a3 (diff)
downloade2fsprogs-6605a07f6afe3d9d667ff31855bc607c1904d18b.tar.gz
AOSP: Stop explicitly specifying -fno-strict-aliasing
The upstream build system for e2fsprogs doesn't use -fno-strict-aliasing, so update the Android.bp files to match. Note: Android's build system currently uses -fno-strict-aliasing by default anyway, so this change doesn't actually enable strict aliasing. But that's a bit besides the point. The point is that this project doesn't need anything special, so we don't need to do anything special. Change-Id: Ifa637058fd95fdc2b6994a8b801b238e929c1f13 From AOSP commit: c30a15e5d615748d4824dec26f1bda1a86be979c
-rw-r--r--debugfs/Android.bp1
-rw-r--r--e2fsck/Android.bp1
-rw-r--r--lib/blkid/Android.bp1
3 files changed, 0 insertions, 3 deletions
diff --git a/debugfs/Android.bp b/debugfs/Android.bp
index 3a2f520b..6ccc6a04 100644
--- a/debugfs/Android.bp
+++ b/debugfs/Android.bp
@@ -43,7 +43,6 @@ cc_defaults {
],
cflags: [
"-Wno-unused-variable",
- "-fno-strict-aliasing",
"-DDEBUGFS",
],
include_dirs: [
diff --git a/e2fsck/Android.bp b/e2fsck/Android.bp
index 22396c4e..ad2e4354 100644
--- a/e2fsck/Android.bp
+++ b/e2fsck/Android.bp
@@ -49,7 +49,6 @@ cc_defaults {
],
cflags: [
"-Wno-sign-compare",
- "-fno-strict-aliasing",
],
}
diff --git a/lib/blkid/Android.bp b/lib/blkid/Android.bp
index f5d25da4..66d587b4 100644
--- a/lib/blkid/Android.bp
+++ b/lib/blkid/Android.bp
@@ -53,7 +53,6 @@ cc_library {
"-Wno-error=attributes",
"-Wno-error=pointer-sign",
"-Wno-unused-parameter",
- "-fno-strict-aliasing",
],
header_libs: ["libext2-headers"],