summaryrefslogtreecommitdiff
path: root/package/grub/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-02-22 14:30:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-02-22 14:30:47 +0100
commit8a6ac41263acc6aa8960e9a941a3b0bdf328b7f1 (patch)
treefbcd2beb68fa30de2febdf1317b90b2d2397e711 /package/grub/patches
parentfee514590fb17e73e05c397cdd265fd04320dee7 (diff)
fix building of grub
Diffstat (limited to 'package/grub/patches')
-rw-r--r--package/grub/patches/patch-conf_common_mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/grub/patches/patch-conf_common_mk b/package/grub/patches/patch-conf_common_mk
index ea4ffc0df..fec7cd1dd 100644
--- a/package/grub/patches/patch-conf_common_mk
+++ b/package/grub/patches/patch-conf_common_mk
@@ -1,11 +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
++++ 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
-+ $(HOSTCC) -o $@ $^ $(CPPFLAGS) -lm
++ $(CC_FOR_BUILD) -o $@ $^ $(CPPFLAGS_FOR_BUILD) -lm
DISTCLEANFILES += gentrigtables
pkglib_MODULES += setjmp.mod