From 7f0b8f01e1779dbb5065a07445ffa7b01b81e103 Mon Sep 17 00:00:00 2001 From: joshaber Date: Mon, 5 Oct 2015 10:15:34 -0400 Subject: [PATCH 1/2] mac: Don't define an SDKROOT. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way Xcode will use the latest SDK, whatever it is, and we don’t have to bump this every time Apple releases an OS update. --- brightray/brightray.gypi | 1 - 1 file changed, 1 deletion(-) diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index fa442967671a..e7006435c781 100644 --- a/brightray/brightray.gypi +++ b/brightray/brightray.gypi @@ -33,7 +33,6 @@ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'RUN_CLANG_STATIC_ANALYZER': 'YES', - 'SDKROOT': 'macosx10.10', 'USE_HEADER_MAP': 'NO', 'WARNING_CFLAGS': [ '-Wall', From 3d0ab70aa128ceae37a47802a49eacbe4e674d8a Mon Sep 17 00:00:00 2001 From: joshaber Date: Mon, 5 Oct 2015 10:15:54 -0400 Subject: [PATCH 2/2] mac: Force Xcode to use C++11. For whatever reason, this is necessary in Xcode 7. --- brightray/brightray.gypi | 1 + 1 file changed, 1 insertion(+) diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index e7006435c781..4931cfc29c14 100644 --- a/brightray/brightray.gypi +++ b/brightray/brightray.gypi @@ -31,6 +31,7 @@ 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', 'GCC_ENABLE_CPP_RTTI': 'NO', 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', + 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'RUN_CLANG_STATIC_ANALYZER': 'YES', 'USE_HEADER_MAP': 'NO',