grub: fix cross build for i686
This commit is contained in:
parent
7c479578dc
commit
fb6a252b4a
1 changed files with 6 additions and 1 deletions
|
@ -19,7 +19,12 @@ nopie=yes
|
|||
|
||||
subpackages="grub-utils grub-i386-efi"
|
||||
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
|
||||
|
||||
post_extract() {
|
||||
|
|
Loading…
Reference in a new issue