python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / libxmlrpc / 0001-fix-gennmtab-build.patch
blobe98e5cbf58ff5f592174750d03bfe4902ea1cea8
1 Fix build of host tool
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
14 @@ -40,9 +40,9 @@
15 dep: dep-common
17 gennmtab.o:%.o:%.c
18 - $(BUILDTOOL_CC) -c $< -o $@ $(CFLAGS_ALL) $(INCLUDES)
19 + $(CC_FOR_BUILD) -c $< -o $@ $(CFLAGS_FOR_BUILD) $(INCLUDES)
21 gennmtab:%:%.o
22 - $(BUILDTOOL_CCLD) -o $@ $(LDFLAGS_ALL) $^
23 + $(CC_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $^
25 include depend.mk