Browse Source

Added C++11 flags to the linux and codeblocks makefiles

tags/2021-05-28
jules 11 years ago
parent
commit
ef653b4cdd
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_CodeBlocks.h
  2. +1
    -1
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h

+ 1
- 1
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_CodeBlocks.h View File

@@ -142,7 +142,7 @@ private:
{
StringArray flags;
flags.add ("-O" + config.getGCCOptimisationFlag());
flags.add ("-std=gnu++0x");
flags.add ("-std=c++11");
flags.add ("-mstackrealign");
if (config.isDebug())


+ 1
- 1
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Make.h View File

@@ -151,7 +151,7 @@ private:
void writeCppFlags (OutputStream& out, const BuildConfiguration& config) const
{
out << " CPPFLAGS := $(DEPFLAGS)";
out << " CPPFLAGS := $(DEPFLAGS) -std=c++11";
writeDefineFlags (out, config);
writeHeaderPathFlags (out, config);
out << newLine;


Loading…
Cancel
Save