[C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The
[oota-llvm.git] / Makefile.rules
index 3f1c2afe73d4802ee82378ec413f87f61d93b1cc..62428d1a722afce5d7f7a83350c996b11128b46f 100644 (file)
@@ -319,8 +319,10 @@ ifeq ($(ENABLE_LIBCPP),1)
   LD.Flags +=  -stdlib=libc++
 endif
 
-ifeq ($(ENABLE_CXX11),1)
-  CXX.Flags += -std=c++11
+ifeq ($(ENABLE_CXX1Y),1)
+  CXX.Flags += -std=c++1y
+else
+       CXX.Flags += -std=c++11
 endif
 
 ifeq ($(ENABLE_WERROR),1)