Move project-specific flags to common.gypi.

This commit is contained in:
Haojian Wu 2016-08-11 20:55:56 +02:00
parent 42a5b1f5bc
commit fc36048d78
2 changed files with 2 additions and 7 deletions

View file

@ -102,6 +102,7 @@
'-Wno-return-type',
'-Wno-gnu-folding-constant',
'-Wno-shift-negative-value',
'-Wno-varargs', # https://git.io/v6Olj
],
},
'conditions': [
@ -117,6 +118,7 @@
'-Wno-deprecated-declarations',
'-Wno-return-type',
'-Wno-shift-negative-value',
'-Wno-varargs', # https://git.io/v6Olj
# Required when building as shared library.
'-fPIC',
],