grub: fix cross build for i686

This commit is contained in:
Jürgen Buchmüller 2018-01-15 21:20:40 +01:00
parent 7c479578dc
commit fb6a252b4a

View file

@ -19,7 +19,12 @@ nopie=yes
subpackages="grub-utils grub-i386-efi" subpackages="grub-utils grub-i386-efi"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
x86_64*) subpackages+=" grub-x86_64-efi"; _GRUBX64=1;; x86_64*) subpackages+=" grub-x86_64-efi"
_GRUBX64=1
;;
i686*) CFLAGS="-D_FILE_OFFSET_BITS=64"
configure_args+=" ac_cv_sizeof_off_t=8"
;;
esac esac
post_extract() { post_extract() {