mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40:35 -09:00
https://lists.exim.org/lurker/message/20260820.154633.91995f73.en.html Rebased patch 0001. Updated patch 0005, the previous version was applied upstream with commit 497e9eb7e77ad27ae1d45281e23eefadfaa7a3bc but it did not fix all linker errors so we sent a new patch upstream which replaces the previous patch. Updated hash of GPL-2.0 license file (address, name of president and typos), a commit can not be provided from the source tree. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
882 B
Diff
27 lines
882 B
Diff
buildconfig is meant to be executed on the host, so it has to be compiled
|
|
using $(HOSTCC), not $(CC).
|
|
|
|
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
|
|
[Bernd: rebased for version 4.100]
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
---
|
|
OS/Makefile-Base | 4 ++--
|
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/OS/Makefile-Base b/OS/Makefile-Base
|
|
index 29a6ad3..420ba60 100644
|
|
--- a/OS/Makefile-Base
|
|
+++ b/OS/Makefile-Base
|
|
@@ -257,8 +257,8 @@ allexim: config.h $(EXIM_MONITOR) exicyclog exinext exiwhat \
|
|
|
|
# Targets for special-purpose configuration header builders
|
|
buildconfig: buildconfig.c
|
|
- @echo "$(CC) buildconfig.c"
|
|
- $(FE)$(CC) $(CFLAGS) $(INCLUDE) -o buildconfig buildconfig.c $(LIBS)
|
|
+ @echo "$(HOSTCC) buildconfig.c"
|
|
+ $(FE)$(HOSTCC) $(HOSTCFLAGS) $(INCLUDE) -o buildconfig buildconfig.c
|
|
|
|
|
|
UTIL_DEPS = $(CONFIG_DEPS) ../src/utils/msgid.frag
|
|
|