From d22b6ef090d62a0d70d9312f6af3267db04f3c0a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Apr 2019 10:54:17 +0200 Subject: most patches for i686 should/can be applied for pentium4, too --- core/pacman/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/pacman/PKGBUILD') diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD index ce92903a..f75db89a 100644 --- a/core/pacman/PKGBUILD +++ b/core/pacman/PKGBUILD @@ -12,14 +12,13 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do fi done -# i486-specific -if [ "${CARCH}" = "i486" ]; then +if [ ! "${CARCH}" = "i686" ]; then # patch architecture where needed eval "$( declare -f package | \ sed ' /install.*makepkg.conf/ a \ - sed -i "s@i686@i486@g" "$pkgdir/etc/makepkg.conf" + sed -i "s@i686@'"${CARCH}"'@g" "$pkgdir/etc/makepkg.conf" ' )" fi -- cgit v1.2.3-70-g09d2