summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-conf_common_mk
blob: ea4ffc0dfca4366104d95c8e22c8e5016af164f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- grub-1.98.orig/conf/common.mk	2010-03-06 21:52:26.000000000 +0100
+++ grub-1.98/conf/common.mk	2010-06-26 18:20:29.307157138 +0200
@@ -11159,7 +11159,7 @@ trigtables.c: gentrigtables
 	./gentrigtables > $@
 DISTCLEANFILES += trigtables.c
 gentrigtables: gentrigtables.c
-	$(CC) -o $@ $^ $(CPPFLAGS) -lm
+	$(HOSTCC) -o $@ $^ $(CPPFLAGS) -lm
 DISTCLEANFILES += gentrigtables
 
 pkglib_MODULES += setjmp.mod