Fix typo (|| operator instead of |)

Change-Id: I2a5707f04175ef96d678e57b7c61fb8d6cec4d75
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-05-02 08:57:02 +02:00
parent 082bf324fe
commit 6441c258e6

View File

@@ -462,7 +462,7 @@ ToolChain::CompilerFlags GccToolChain::compilerFlags(const QStringList &cxxflags
} else if (std == "gnu++0x" || std == "gnu++11" || std== "gnu++1y") {
flags |= CompilerFlags(StandardCxx11 | GnuExtensions);
} else if (std == "c89" || std == "c90"
|| std == "iso9899:1990" | std == "iso9899:199409") {
|| std == "iso9899:1990" || std == "iso9899:199409") {
flags &= ~CompilerFlags(StandardC99 | StandardC11);
} else if (std == "gnu89" || std == "gnu90") {
flags &= ~CompilerFlags(StandardC99 | StandardC11);