diff --git a/llvm/utils/llvm-compilers-check b/llvm/utils/llvm-compilers-check index 623ebc6a32cc..6a60d8aadf7b 100755 --- a/llvm/utils/llvm-compilers-check +++ b/llvm/utils/llvm-compilers-check @@ -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",