Force building with Clang on Linux to get C++11 support
This commit is contained in:
parent
d27a984378
commit
7f3afbaf3d
1 changed files with 10 additions and 0 deletions
|
@ -177,6 +177,16 @@
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
['OS=="linux"', {
|
||||||
|
'make_global_settings': [
|
||||||
|
['CC', '/usr/bin/clang'],
|
||||||
|
['CXX', '/usr/bin/clang++'],
|
||||||
|
['LINK', '$(CXX)'],
|
||||||
|
['CC.host', '$(CC)'],
|
||||||
|
['CXX.host', '$(CXX)'],
|
||||||
|
['LINK.host', '$(LINK)'],
|
||||||
|
],
|
||||||
|
}],
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
'target_defaults': {
|
'target_defaults': {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
|
|
Loading…
Reference in a new issue