Enable -Wglobal-constructors

Reviewed By: kastiglione

Differential Revision: D3459099

fbshipit-source-id: 2c847dcaf519508101ca6be09aa4d9236e1d7d51
This commit is contained in:
Greg Pstrucha 2016-06-22 13:42:55 -07:00 committed by Facebook Github Bot 7
parent f03bc9016e
commit c54f468ab2
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ REACT_LIBRARY_EXTRA_COMPILER_FLAGS = []
if THIS_IS_FBOBJC:
inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS)
CXX_LIBRARY_COMPILER_FLAGS = inherited_buck_flags.combined_flags_as_dict()['compiler_flags']
REACT_LIBRARY_EXTRA_COMPILER_FLAGS = ['-Wno-shadow', '-Wno-missing-prototypes']
REACT_LIBRARY_EXTRA_COMPILER_FLAGS = ['-Wno-shadow', '-Wno-missing-prototypes', '-Wno-global-constructors']
def kwargs_add(base_kwargs, **new_kwargs):
ret_kwargs = dict(base_kwargs)