mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
Force building with Clang on Linux to get C++11 support
This commit is contained in:
@@ -177,6 +177,16 @@
|
||||
],
|
||||
},
|
||||
'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"', {
|
||||
'target_defaults': {
|
||||
'include_dirs': [
|
||||
|
||||
Reference in New Issue
Block a user