| Index: common.gypi |
| =================================================================== |
| --- a/common.gypi |
| +++ b/common.gypi |
| @@ -7,19 +7,21 @@ |
| 'v8_optimized_debug': 0, |
| 'v8_enable_i18n_support': 0, |
| }, |
| 'conditions': [ |
| ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| or OS=="netbsd" or OS=="android"', { |
| 'target_defaults': { |
| + # remove the -fpermissive when a newer v8 is used |
| + # unless it is still required. |
| 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', |
| '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
| - '-pedantic', '-std=c++0x', '-fexceptions', ], |
| + '-pedantic', '-std=c++0x', '-fexceptions', '-fpermissive' ], |
| 'cflags!': [ '-Werror', ], |
| 'ldflags': [ '-pthread', ], |
| }, |
| }], |
| ['OS=="mac"', { |
| 'xcode_settings': { |
| 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', |
| 'CLANG_CXX_LIBRARY': 'libc++', |