From ed2bfcb35a2756eb700882ab8e21b6b273efa80a Mon Sep 17 00:00:00 2001 From: Taras Tsugrii Date: Sat, 9 Dec 2017 21:49:08 -0800 Subject: [PATCH] Skalarkify flags macros. Reviewed By: adamjernst Differential Revision: D6528242 fbshipit-source-id: f809cfb853d6615a1aa47e145063ef1d7f5838be --- ReactCommon/cxxreact/BUCK | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReactCommon/cxxreact/BUCK b/ReactCommon/cxxreact/BUCK index f40a9730157387..be74424e5e75c1 100644 --- a/ReactCommon/cxxreact/BUCK +++ b/ReactCommon/cxxreact/BUCK @@ -1,3 +1,5 @@ +include_defs("xplat//configurations/buck/apple/flag_defs.bzl") + include_defs("//ReactCommon/DEFS") CXX_LIBRARY_COMPILER_FLAGS = [ @@ -7,7 +9,7 @@ CXX_LIBRARY_COMPILER_FLAGS = [ if THIS_IS_FBOBJC: inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS - CXX_LIBRARY_COMPILER_FLAGS += inherited_buck_flags.get_flag_value('compiler_flags') + CXX_LIBRARY_COMPILER_FLAGS += flags.get_flag_value(inherited_buck_flags, 'compiler_flags') rn_xplat_cxx_library( name = "module",