Browse Source

package/grub: fix compile issue under FreeBSD 8.1

SVN-Revision: 23156
Alexandros C. Couloumbis 15 years ago
parent
commit
073fca3651
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/grub/Makefile

+ 4 - 0
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 \