Merge "Actually turn on -Werror for crtbegin."
diff --git a/libc/Android.bp b/libc/Android.bp
index d9b8a2b..6f5ad70 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1948,6 +1948,8 @@
 
     no_default_compiler_flags: true,
 
+    cflags: ["-Wno-gcc-compat", "-Werror"],
+
     arch: {
         arm: {
             local_include_dirs: ["arch-arm/include"],
@@ -1974,6 +1976,8 @@
 cc_defaults {
     name: "crt_so_defaults",
 
+    cflags: ["-Wno-gcc-compat", "-Werror"],
+
     vendor_available: true,
     arch: {
         mips: {