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

Unified Diff: common.gypi

Issue 5198903443980288: Issue 321 - libadblockplus build fails on OS X (tr1/memory.h not found) (Closed)
Patch Set: Created April 14, 2014, 11:26 a.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 | libadblockplus.gyp » ('j') | 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
@@ -11,16 +11,23 @@
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', ],
'ldflags': [ '-pthread', ],
},
}],
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ 'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
+ 'CLANG_CXX_LIBRARY': 'libstdc++',
+ 'OTHER_CPLUSPLUSFLAGS' : ['-std=c++0x', '-stdlib=libstdc++'],
+ },
+ }],
['OS=="android"', {
'target_defaults': {
'cflags!': [
'-pthread', # Not supported by Android toolchain.
],
'ldflags!': [
'-pthread', # Not supported by Android toolchain.
],
« no previous file with comments | « no previous file | libadblockplus.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld