Add --enable-werror and --enable-cxx11 to projects/sample/
[oota-llvm.git] / projects / sample / Makefile.llvm.config.in
index 9a85b3df6318d57288dd83c2efc056a4c1141638..c7df998b26d34ef11489309aa170f65935164612 100644 (file)
@@ -184,6 +184,12 @@ RDYNAMIC := @RDYNAMIC@
 #ENABLE_LIBCPP = 0
 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.