• 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/exim/0001-Build-buildconfig-for-the-host.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
buildconfig is meant to be executed on the host, so it has to be compiled
2
using $(HOSTCC), not $(CC).
3
​
4
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
5
---
6
 OS/Makefile-Base |    4 ++--
7
 1 files changed, 2 insertions(+), 2 deletions(-)
8
​
9
diff --git a/OS/Makefile-Base b/OS/Makefile-Base
10
index 29a6ad3..420ba60 100644
11
--- a/OS/Makefile-Base
12
+++ b/OS/Makefile-Base
13
@@ -114,8 +114,8 @@ allexim: config.h $(EXIM_MONITOR) exicyclog exinext exiwhat \
14
 
15
 # Targets for special-purpose configuration header builders
16
 buildconfig: buildconfig.c
17
-   @echo "$(CC) buildconfig.c"
18
-   $(FE)$(CC) $(CFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)
19
+   @echo "$(HOSTCC) buildconfig.c"
20
+   $(FE)$(HOSTCC) $(HOSTCFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)
21
 
22
 
23
 # Target for the exicyclog utility script
  • 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.