summaryrefslogtreecommitdiff
path: root/core/grub/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/grub/PKGBUILD')
-rw-r--r--core/grub/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/grub/PKGBUILD b/core/grub/PKGBUILD
new file mode 100644
index 00000000..2d50773b
--- /dev/null
+++ b/core/grub/PKGBUILD
@@ -0,0 +1,8 @@
+# we build for "i386"
+if [ "$CARCH" == 'pentium4' ] || [ "$CARCH" == 'i486' ]; then
+ _EFI_ARCH="i386"
+ _EMU_ARCH="i386"
+ conflicts=("${conflicts[@]/-x86_64/-i386}")
+ replaces=("${replaces[@]/-x86_64/-i386}")
+ provides=("${provides[@]/-x86_64/-i386}")
+fi