Index: common.gypi |
=================================================================== |
--- a/common.gypi |
+++ b/common.gypi |
@@ -9,17 +9,17 @@ |
}, |
'conditions': [ |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
or OS=="netbsd" or OS=="android"', { |
'target_defaults': { |
'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', |
'-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
- '-pedantic', '-std=c++0x', '-fexceptions', ], |
+ '-pedantic', '-std=c++0x', '-fexceptions', '-fpermissive' ], |
Felix Dahlke
2017/03/06 17:00:41
I'm a bit rusty with this build logic, but:
1. Is
hub
2017/03/06 17:41:41
There is no GCC with C++11 support in macOS (they
Felix Dahlke
2017/03/07 07:29:59
I just checked and when I build on my Ubuntu syste
hub
2017/03/07 16:36:18
I haven't figured out how to do that with gyp. The
|
'cflags!': [ '-Werror', ], |
'ldflags': [ '-pthread', ], |
}, |
}], |
['OS=="mac"', { |
'xcode_settings': { |
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', |
'CLANG_CXX_LIBRARY': 'libc++', |