From b7c3b5c89cbac61ea905b6bf5421220ae12060dd Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 29 Jun 2015 16:19:58 +0100 Subject: [PATCH] Introjucer: moved a C++11 flag setting in the linux makefile. --- .../Source/Project Saving/jucer_ProjectExport_Make.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h index b0ebfda6d9..975ae3ceb4 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h @@ -156,7 +156,7 @@ private: void writeCppFlags (OutputStream& out, const BuildConfiguration& config) const { - out << " CPPFLAGS := $(DEPFLAGS) -std=c++11"; + out << " CPPFLAGS := $(DEPFLAGS)"; writeDefineFlags (out, config); writeHeaderPathFlags (out, config); out << newLine; @@ -232,7 +232,7 @@ private: << (" " + replacePreprocessorTokens (config, getExtraCompilerFlagsString())).trimEnd() << newLine; - out << " CXXFLAGS += $(CFLAGS)" << newLine; + out << " CXXFLAGS += $(CFLAGS) -std=c++11" << newLine; writeLinkerFlags (out, config);