diff options
author | Eric Christopher <echristo@apple.com> | 2012-08-03 19:58:20 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-08-03 19:58:20 +0000 |
commit | 09a887345f283f3ffb46a36e78ca761026ab0cf2 (patch) | |
tree | 7cb61bb2de2c7b9373ba1ed6fc08deb4849a0496 /Makefile.config.in | |
parent | 46e6bcf3aca5496e51993dff0d3be2c0b45e4a8f (diff) | |
download | llvm-09a887345f283f3ffb46a36e78ca761026ab0cf2.tar.gz llvm-09a887345f283f3ffb46a36e78ca761026ab0cf2.tar.bz2 llvm-09a887345f283f3ffb46a36e78ca761026ab0cf2.tar.xz |
Add a configure flag for enabling -Werror on the command line
while building as requested by Lang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r-- | Makefile.config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index e644c03a78..6d06f16b35 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -221,6 +221,9 @@ ENABLE_LIBCPP = @ENABLE_LIBCPP@ # When ENABLE_CXX11 is enabled, LLVM uses c++11 mode by default to build. ENABLE_CXX11 = @ENABLE_CXX11@ +# When ENABLE_WERROR is enabled, we'll pass -Werror on the command line +ENABLE_WERROR = @ENABLE_WERROR@ + # When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is put # into the "Release" directories. Otherwise, LLVM code is not optimized and # output is put in the "Debug" directories. |