Merge "Build C musl additions as C99." into main
diff --git a/libc/Android.bp b/libc/Android.bp
index 7b902dc..b5ff680 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -2703,6 +2703,7 @@
},
}
+// TODO: add this directly to musl like libexecinfo and libb64?
cc_library_host_static {
name: "libfts",
srcs: [
@@ -2715,6 +2716,7 @@
"upstream-openbsd/android/include",
],
cflags: [
+ "-std=gnu99",
"-include openbsd-compat.h",
"-Wno-unused-parameter",
],
@@ -2754,6 +2756,7 @@
"upstream-openbsd/android/include",
],
cflags: [
+ "-std=gnu99",
"-include openbsd-compat.h",
],
enabled: false,