summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-03 19:47:14 +0000
committerEric Christopher <echristo@apple.com>2012-08-03 19:47:14 +0000
commit82120023861a85427f436dcb6f21a741e32a7896 (patch)
tree5f231bf8d876f6e91d0698a440047cdfaf144238 /Makefile.config.in
parent07dc609c37663ee0d4179c7de605a841517f4525 (diff)
downloadllvm-82120023861a85427f436dcb6f21a741e32a7896.tar.gz
llvm-82120023861a85427f436dcb6f21a741e32a7896.tar.bz2
llvm-82120023861a85427f436dcb6f21a741e32a7896.tar.xz
Add a configure option to pass -std=c++11 on the command line.
rdar://11366674 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index cc538b3f42..6a35ae1a7d 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -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.