summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-conf_common_mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/grub/patches/patch-conf_common_mk')
-rw-r--r--package/grub/patches/patch-conf_common_mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/grub/patches/patch-conf_common_mk b/package/grub/patches/patch-conf_common_mk
new file mode 100644
index 000000000..ea4ffc0df
--- /dev/null
+++ b/package/grub/patches/patch-conf_common_mk
@@ -0,0 +1,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