Enable -Wglobal-constructors
Reviewed By: kastiglione Differential Revision: D3459099 fbshipit-source-id: 2c847dcaf519508101ca6be09aa4d9236e1d7d51
This commit is contained in:
parent
f03bc9016e
commit
c54f468ab2
|
@ -3,7 +3,7 @@ REACT_LIBRARY_EXTRA_COMPILER_FLAGS = []
|
||||||
if THIS_IS_FBOBJC:
|
if THIS_IS_FBOBJC:
|
||||||
inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS)
|
inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS)
|
||||||
CXX_LIBRARY_COMPILER_FLAGS = inherited_buck_flags.combined_flags_as_dict()['compiler_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):
|
def kwargs_add(base_kwargs, **new_kwargs):
|
||||||
ret_kwargs = dict(base_kwargs)
|
ret_kwargs = dict(base_kwargs)
|
||||||
|
|
Loading…
Reference in New Issue