core/mkinitcpio-busybox to 1.34.1-1.1

This commit is contained in:
Kevin Mihelich 2022-02-07 03:19:38 +00:00
parent 815236ee20
commit 6e6f96036a

View file

@ -4,11 +4,11 @@
# Contributor: Thomas Bächler <thomas@archlinux.org> # Contributor: Thomas Bächler <thomas@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed -mtune, changed -march to v8/v7/v6/v5 compat # - removed -mtune, changed -march to v7/v8 compat
pkgname=mkinitcpio-busybox pkgname=mkinitcpio-busybox
pkgver=1.34.1 pkgver=1.34.1
pkgrel=1 pkgrel=1.1
pkgdesc='Base initramfs tools' pkgdesc='Base initramfs tools'
arch=(x86_64) arch=(x86_64)
url="https://www.busybox.net/" url="https://www.busybox.net/"
@ -28,11 +28,7 @@ prepare() {
if [ ${CARCH} = "aarch64" ]; then if [ ${CARCH} = "aarch64" ]; then
ARMCARCH="armv8-a" ARMCARCH="armv8-a"
elif [ ${CARCH} = "armv7h" ]; then elif [ ${CARCH} = "armv7h" ]; then
ARMCARCH="armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16" ARMCARCH="armv7-a -mfloat-abi=hard -mfpu=neon"
elif [ ${CARCH} = "armv6h" ]; then
ARMCARCH="armv6 -mfloat-abi=hard -mfpu=vfp"
else
ARMCARCH="armv5te"
fi fi
local safeflags="-march=${ARMCARCH} -Os -pipe -fno-strict-aliasing" local safeflags="-march=${ARMCARCH} -Os -pipe -fno-strict-aliasing"