Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-07 20:24:53 +0200
committerErich Eckner <git@eckner.net>2020-05-07 20:24:53 +0200
commit28d9dbf77ec23780179422f78cd15279b1bb20d5 (patch)
tree1ba37eeaeceb6727aa3704f4a0b2c3a5478b7d79 /core
parentcd42c617972fbbd8636b46a3f132c1e06a9253b5 (diff)
core/grub: make i486 and pentium4 builds similar to i686 builds
Diffstat (limited to 'core')
-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