diff --git a/emacs/PKGBUILD b/emacs/PKGBUILD index 8868578d6f..47487cc32b 100644 --- a/emacs/PKGBUILD +++ b/emacs/PKGBUILD @@ -5,7 +5,8 @@ # Contributor: Renchi Raju pkgbase=emacs -pkgname=(emacs emacs-nativecomp emacs-nox) +pkgname=(emacs emacs-nox) +[ ! "${CARCH}" = 'powerpc' ] && pkgname+=(emacs-nativecomp) pkgver=28.2 pkgrel=2 arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) @@ -81,12 +82,14 @@ build() { --with-x-toolkit=gtk3 make + if [ ! "${CARCH}" = 'powerpc' ]; then cd ../${pkgbase}-${pkgver}-nativecomp - ./configure \ - --with-x-toolkit=gtk3 \ - --with-native-compilation \ - $_confflags - make NATIVE_FULL_AOT=1 bootstrap + ./configure \ + --with-x-toolkit=gtk3 \ + --with-native-compilation \ + $_confflags + make NATIVE_FULL_AOT=1 bootstrap + fi cd ../${pkgbase}-${pkgver}-nox ./configure \