* fix emacs on powerpc by disabling lto)

This commit is contained in:
Alexander Baldeck 2024-12-04 17:06:01 +01:00
parent 54fd701dc2
commit 177a311440

View File

@ -8,7 +8,7 @@ pkgbase=emacs
pkgname=(emacs emacs-nativecomp emacs-nox emacs-wayland)
pkgver=29.4
pkgrel=3.1
arch=(x86_64 powerpc64le powerpc64 riscv64)
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://www.gnu.org/software/emacs/emacs.html'
license=('GPL3')
depends=(
@ -56,6 +56,10 @@ b2sums=('825fd2665b6427dbc3cb618b40df2f71fa6b08883bdd07be6d8acf0039df2aeebd294e6
validpgpkeys=('17E90D521672C04631B1183EE78DAE0F3115E06B' # Eli Zaretskii <eliz@gnu.org>
'CEA1DE21AB108493CC9C65742E82323B8F4353EE') # Stefan Kangas <stefankangas@gmail.com>
case "${CARCH}" in
powerpc) options=(!lto) ;;
esac
prepare() {
cp --reflink=auto -ar ${pkgname}-${pkgver} ${pkgbase}-${pkgver}-nativecomp
cp --reflink=auto -ar ${pkgname}-${pkgver} ${pkgbase}-${pkgver}-nox