Add a configure option to pass -std=c++11 on the command line.
[oota-llvm.git] / Makefile.config.in
index cc538b3f42efb5ea625a99dd9b7d43472e893acd..6a35ae1a7d6eab630cb312e72e7556e2fefa64dd 100644 (file)
@@ -218,6 +218,9 @@ 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_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.