• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libxmlrpc/0001-fix-gennmtab-build.patch
Thomas PetazzoniThomas Petazzoni committed 56c7bb5760e27 Dec 2014
Raw file
Source viewDiff to previous
 
1
Fix build of host tool
2
​
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.
7
​
8
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
​
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
16
 
17
 gennmtab.o:%.o:%.c
18
-   $(BUILDTOOL_CC) -c $< -o $@ $(CFLAGS_ALL) $(INCLUDES)
19
+   $(CC_FOR_BUILD) -c $< -o $@ $(CFLAGS_FOR_BUILD) $(INCLUDES)
20
 
21
 gennmtab:%:%.o
22
-   $(BUILDTOOL_CCLD) -o $@ $(LDFLAGS) $^
23
+   $(CC_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $^
24
 
25
 include depend.mk
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.