1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

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

This commit is contained in:
jules 2014-10-14 17:52:26 +01:00
parent 17cbf1a285
commit ef653b4cdd
2 changed files with 2 additions and 2 deletions

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())

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;