From 7f454e0aed68cbf272d4288648da714cd34dbe32 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Thu, 7 Mar 2013 20:13:11 +0000 Subject: [PATCH] Fix enum_types test on Linux - Required flag "-std=c++11" needs to be set before including Makefile.rules llvm-svn: 176644 --- lldb/test/lang/cpp/enum_types/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/test/lang/cpp/enum_types/Makefile b/lldb/test/lang/cpp/enum_types/Makefile index 9724b7c..0e0f5d1 100644 --- a/lldb/test/lang/cpp/enum_types/Makefile +++ b/lldb/test/lang/cpp/enum_types/Makefile @@ -2,8 +2,9 @@ LEVEL = ../../../make CXX_SOURCES := main.cpp +CXXFLAGS += -std=c++11 + clean: OBJECTS+=$(wildcard main.d.*) include $(LEVEL)/Makefile.rules -CXXFLAGS += -std=c++11 -- 2.7.4