--- 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