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 @@
}
],
[
"OS=='linux' and '<!(echo \"$CXX\")'=='clang++'", {
"OS=='linux' or OS.endswith('bsd')", {
"cflags": [
"-Wno-c++11-extensions"
]
}
],
[
"OS=='linux' and '<!(echo \"$CXX\")'!='clang++'", {
"cflags": [
"-std=c++0x"
"-std=c++11"
]
}
]
......
......@@ -152,7 +152,7 @@
}],
]
}],
['is_clang==1 or gcc_version>=43', {
['gcc_version>=43', {
'cflags': ['-Wno-old-style-declaration'],
}],
['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