Unverified Commit 4611ca75 authored by Tyler Wanek's avatar Tyler Wanek Committed by GitHub

Merge pull request #1344 from rsmarples/fix-clang

Fix compiling with clang
parents 88e3ec6c 609332f9
...@@ -98,16 +98,9 @@ ...@@ -98,16 +98,9 @@
} }
], ],
[ [
"OS=='linux' and '<!(echo \"$CXX\")'=='clang++'", { "OS=='linux' or OS.endswith('bsd')", {
"cflags": [ "cflags": [
"-Wno-c++11-extensions" "-std=c++11"
]
}
],
[
"OS=='linux' and '<!(echo \"$CXX\")'!='clang++'", {
"cflags": [
"-std=c++0x"
] ]
} }
] ]
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
}], }],
] ]
}], }],
['is_clang==1 or gcc_version>=43', { ['gcc_version>=43', {
'cflags': ['-Wno-old-style-declaration'], 'cflags': ['-Wno-old-style-declaration'],
}], }],
['OS=="solaris"', { ['OS=="solaris"', {
......
Markdown is supported
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