3 genmtab is a tool that needs to be built for the host as it is used
4 during the compilation process of libxmlrpc. Its Makefile needs a bit
5 of tuning to use the conventional CC_FOR_BUILD, CFLAGS_FOR_BUILD and
6 LDFLAGS_FOR_BUILD variables.
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 Index: b/lib/expat/gennmtab/Makefile
11 ===================================================================
12 --- a/lib/expat/gennmtab/Makefile
13 +++ b/lib/expat/gennmtab/Makefile
18 - $(BUILDTOOL_CC) -c $< -o $@ $(CFLAGS_ALL) $(INCLUDES)
19 + $(CC_FOR_BUILD) -c $< -o $@ $(CFLAGS_FOR_BUILD) $(INCLUDES)
22 - $(BUILDTOOL_CCLD) -o $@ $(LDFLAGS_ALL) $^
23 + $(CC_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $^