From 09a887345f283f3ffb46a36e78ca761026ab0cf2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 3 Aug 2012 19:58:20 +0000 Subject: 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 --- Makefile.config.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.config.in') 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. -- cgit v1.2.3