diff --git a/ReactCommon/cxxreact/BUCK b/ReactCommon/cxxreact/BUCK index 5fc980cc390..6c5ec502c18 100644 --- a/ReactCommon/cxxreact/BUCK +++ b/ReactCommon/cxxreact/BUCK @@ -1,7 +1,7 @@ CXX_LIBRARY_COMPILER_FLAGS = [] REACT_LIBRARY_EXTRA_COMPILER_FLAGS = [] if THIS_IS_FBOBJC: - inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS) + inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS CXX_LIBRARY_COMPILER_FLAGS = inherited_buck_flags.get_flag_value('compiler_flags') REACT_LIBRARY_EXTRA_COMPILER_FLAGS = ['-Wno-shadow', '-Wno-missing-prototypes', '-Wno-global-constructors'] @@ -49,7 +49,7 @@ elif THIS_IS_FBOBJC: ios_library( name = 'bridge', header_path_prefix = "cxxreact", - inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS), + inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS, frameworks = [ '$SDKROOT/System/Library/Frameworks/JavaScriptCore.framework', ],