diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 03:33:08 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 03:33:08 +0000 |
commit | f38b536b3d49b376c40155ae729e33ecc3069b47 (patch) | |
tree | a9e5805e9f3d41c16528f130beebcad4ec3990d3 /Makefile.config.in | |
parent | b23750a8ae1628d98d6b0ad0ec3e975a3c42863b (diff) | |
download | llvm-f38b536b3d49b376c40155ae729e33ecc3069b47.tar.gz llvm-f38b536b3d49b376c40155ae729e33ecc3069b47.tar.bz2 llvm-f38b536b3d49b376c40155ae729e33ecc3069b47.tar.xz |
[C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The
baseline is now C++11, and we unconditionally add -std=c++11 to the
flags.
This has the dim potential to break some non-GNU-compatible compiler (in
terms of -std flags) using the makefiles, but those makefiles are
littered with GNU-style compile flags so it would be very surprising to
me for it to actually happen in practice. As always, do let me know if
there is a toolchain you're using where this doesn't work, and I'll be
watching the bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r-- | Makefile.config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index cf6a4f14d7..a272050c75 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -244,8 +244,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_CXX1Y is enabled, LLVM uses c++1y mode by default to build. +# Otherwise it uses the baseline c++11. +ENABLE_CXX1Y = @ENABLE_CXX1Y@ # When ENABLE_SPLIT_DWARF is enabled, LLVM uses -gfission to build in debug mode. ENABLE_SPLIT_DWARF = @ENABLE_SPLIT_DWARF@ |