diff --git a/common.gypi b/common.gypi index cbf3d14da25a..b8bc7559a46f 100644 --- a/common.gypi +++ b/common.gypi @@ -3,12 +3,6 @@ 'vendor/brightray/brightray.gypi', ], 'variables': { - 'clang': 0, - 'conditions': [ - ['OS=="mac" or OS=="linux"', { - 'clang': 1, - }], - ], # Required by breakpad. 'os_bsd': 0, # Reflects node's config.gypi. @@ -213,33 +207,6 @@ }, }, 'conditions': [ - # Settings to compile with clang under OS X. - ['clang==1', { - 'make_global_settings': [ - ['CC', '/usr/bin/clang'], - ['CXX', '/usr/bin/clang++'], - ['LINK', '$(CXX)'], - ['CC.host', '$(CC)'], - ['CXX.host', '$(CXX)'], - ['LINK.host', '$(LINK)'], - ], - 'target_defaults': { - 'cflags_cc': [ - '-std=c++11', - ], - 'xcode_settings': { - 'CC': '/usr/bin/clang', - 'LDPLUSPLUS': '/usr/bin/clang++', - 'OTHER_CFLAGS': [ - '-fcolor-diagnostics', - ], - - 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99 - 'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++ - 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11 - }, - }, - }], # clang==1 # The breakdpad on Windows assumes Debug_x64 and Release_x64 configurations. ['OS=="win"', { 'target_defaults': { diff --git a/vendor/brightray b/vendor/brightray index 80c8211551c3..bf71f9ca7822 160000 --- a/vendor/brightray +++ b/vendor/brightray @@ -1 +1 @@ -Subproject commit 80c8211551c3fe6a51ff0abfe235bd889d06ffd6 +Subproject commit bf71f9ca78227171054f7cc9ed1407d72aec02db