diff --git a/brightray/brightray.gyp b/brightray/brightray.gyp index a4baef81f6f7..9504a57786f9 100644 --- a/brightray/brightray.gyp +++ b/brightray/brightray.gyp @@ -88,7 +88,7 @@ ], 'conditions': [ ['OS=="linux"', { - 'cflags': [ + 'cflags_cc': [ '-fno-rtti', ], 'link_settings': { diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index e2deae347a8a..27e13a6173ec 100644 --- a/brightray/brightray.gypi +++ b/brightray/brightray.gypi @@ -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) @@ -176,7 +179,6 @@ }], ['OS=="linux"', { 'cflags_cc': [ - '-std=gnu++11', '-fno-rtti', '