Merge pull request #48 from brightray/disable-linux-clang
Add flag to disable clang under Linux.
This commit is contained in:
commit
dc8c14f61f
2 changed files with 5 additions and 2 deletions
|
@ -88,7 +88,7 @@
|
|||
],
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'cflags': [
|
||||
'cflags_cc': [
|
||||
'-fno-rtti',
|
||||
],
|
||||
'link_settings': {
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
'mac_deployment_target%': '10.8',
|
||||
'mac_sdkroot%': 'macosx',
|
||||
|
||||
# Build with clang under Linux.
|
||||
'linux_clang%': 1,
|
||||
|
||||
'win_release_RuntimeLibrary%': '2', # /MD (nondebug DLL)
|
||||
'win_debug_RuntimeLibrary%': '3', # /MTd (debug DLL)
|
||||
|
||||
|
@ -189,7 +192,7 @@
|
|||
],
|
||||
},
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
['OS=="linux" and linux_clang==1', {
|
||||
'make_global_settings': [
|
||||
['CC', '/usr/bin/clang'],
|
||||
['CXX', '/usr/bin/clang++'],
|
||||
|
|
Loading…
Reference in a new issue