Commit 7eb5080f authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

GCC: Detect -std=c++11 and -std=gnu++11 as C++11

Change-Id: I9f968c976c40578bf6aeef2392b5c560775353ef
Reviewed-by: default avatarTobias Hunger <>
parent 3cecc93f
......@@ -387,7 +387,8 @@ QByteArray GccToolChain::predefinedMacros(const QStringList &cxxflags) const
ToolChain::CompilerFlags GccToolChain::compilerFlags(const QStringList &cxxflags) const
if (cxxflags.contains("-std=c++0x") || cxxflags.contains("-std=gnu++0x"))
if (cxxflags.contains("-std=c++0x") || cxxflags.contains("-std=gnu++0x") ||
cxxflags.contains("-std=c++11") || cxxflags.contains("-std=gnu++11"))
return STD_CXX11;
return NO_FLAGS;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment