summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-conf_common_mk
blob: fec7cd1ddf0b3eb6f0379506889a182c1e7a3144 (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	2012-02-22 13:20:42.022360300 +0100
@@ -11159,7 +11159,7 @@ trigtables.c: gentrigtables
 	./gentrigtables > $@
 DISTCLEANFILES += trigtables.c
 gentrigtables: gentrigtables.c
-	$(CC) -o $@ $^ $(CPPFLAGS) -lm
+	$(CC_FOR_BUILD) -o $@ $^ $(CPPFLAGS_FOR_BUILD) -lm
 DISTCLEANFILES += gentrigtables
 
 pkglib_MODULES += setjmp.mod