summaryrefslogtreecommitdiff
path: root/mail-mta/exim/files/exim-4.76-crosscompile.patch
blob: cf47adee6265d55ee07b8d37c62933e9835e3bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://bugs.gentoo.org/show_bug.cgi?id=266591

--- OS/Makefile-Base
+++ OS/Makefile-Base
@@ -114,8 +114,8 @@
 
 # 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 $(LIBS)
 
 
 # Target for the exicyclog utility script