From: Alexandros C. Couloumbis Date: Wed, 29 Sep 2010 16:27:00 +0000 (+0000) Subject: package/grub: fix compile issue under FreeBSD 8.1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=073fca3651354a01848aa126a2fed564b94facb2;p=openwrt%2Fstaging%2Fdangole.git package/grub: fix compile issue under FreeBSD 8.1 SVN-Revision: 23156 --- diff --git a/package/grub/Makefile b/package/grub/Makefile index 426b9c3673..f3dd171141 100644 --- a/package/grub/Makefile +++ b/package/grub/Makefile @@ -37,6 +37,10 @@ MY_CONFIGURE_ARGS += \ --disable-hercules \ --without-curses \ +ifeq ($(HOST_OS),FreeBSD) + MY_CONFIGURE_ARGS += --build=$(GNU_HOST_NAME) --host=$(GNU_TARGET_NAME) --target=$(GNU_TARGET_NAME) +endif + MY_CONFIGURE_VARS += \ grub_cv_prog_objcopy_absolute=yes \