summaryrefslogtreecommitdiffstats
path: root/package/grub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/grub/Makefile')
-rw-r--r--package/grub/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index 426b9c367..f3dd17114 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 \