Use --enable-werror
authorDavid Greene <greened@obbligato.org>
Wed, 16 Jan 2013 00:17:38 +0000 (00:17 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 16 Jan 2013 00:17:38 +0000 (00:17 +0000)
Use --enable-werror during configure time rather than
--with-extra-options.  This is cleaner and easier to read.

llvm-svn: 172581

llvm/utils/llvm-compilers-check

index 623ebc6..6a60d8a 100755 (executable)
@@ -353,16 +353,16 @@ class Builder(threading.Thread):
 
         configure_flags = dict(
             llvm=dict(debug=["--prefix=" + self.install_prefix,
-                             "--with-extra-options=-Werror",
+                             "--enable-werror",
                              "--enable-assertions",
                              "--disable-optimized",
                              "--with-gcc-toolchain=" + cxxroot],
                       release=["--prefix=" + self.install_prefix,
-                               "--with-extra-options=-Werror",
+                               "--enable-werror",
                                "--enable-optimized",
                                "--with-gcc-toolchain=" + cxxroot],
                       paranoid=["--prefix=" + self.install_prefix,
-                                "--with-extra-options=-Werror",
+                                "--enable-werror",
                                 "--enable-assertions",
                                 "--enable-expensive-checks",
                                 "--disable-optimized",