Merge "Do not try non-dwarf local unwinds for x86."
diff --git a/Android.bp b/Android.bp
index 4fcbd7d..83045a0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -24,8 +24,9 @@
 ]
 
 libunwind_common_cflags = [
-    "-Wno-unused-parameter",
     "-Werror",
+    "-Wno-#pragma-messages",
+    "-Wno-unused-parameter",
 ]
 
 // gcc 4.8 appears to be overeager declaring that a variable is uninitialized,
@@ -381,7 +382,6 @@
     },
 
     export_include_dirs: ["include"],
-    stl: "none",
 
     shared_libs: ["liblzma"],
 
@@ -438,7 +438,6 @@
     },
 
     whole_static_libs: ["libunwind"],
-    stl: "none",
 }
 
 /*