Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: common.gypi

Issue 29377871: Issue 4950 - Add -fpermissive to allow building on recent gcc.This is caused by V8 code.Possibly… (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created March 3, 2017, 8:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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++',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld