Skip to content

Commit b175bdf

Browse files
ziyao233YukariChiba
authored andcommitted
[pacman] 7.0.0-7: add loongarch64
1 parent 24ec981 commit b175bdf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PKGBUILD

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
pkgbase=pacman
66
pkgname=(libalpm pacman repo-tools)
77
pkgver=7.0.0
8-
pkgrel=6
9-
arch=(x86_64 aarch64 riscv64)
8+
pkgrel=7
9+
arch=(x86_64 aarch64 riscv64 loongarch64)
1010
url=https://www.archlinux.org/pacman/
1111
license=(GPL)
1212
makedepends=(meson libarchive openssl ninja acl curl xz gpgme) # TODO: asciidoc doxygen
@@ -84,13 +84,14 @@ build()
8484
x86_64) makepkg_cflags+=" -march=x86-64 -fstack-clash-protection -fcf-protection" ;;
8585
aarch64) makepkg_cflags+=" -march=armv8-a" ;;
8686
riscv64) makepkg_cflags+=" -march=rv64gc" ;;
87+
loongarch64) makepkg_cflags+=" -march=la464" ;;
8788
esac
8889
case $CARCH in
8990
riscv64) makepkg_rustarch="riscv64gc" ;;
9091
*) makepkg_rustarch="${CARCH}"
9192
esac
9293
case $CARCH in
93-
riscv64) makepkg_lto="!lto" ;;
94+
riscv64|loongarch64) makepkg_lto="!lto" ;;
9495
*) makepkg_lto="lto"
9596
esac
9697
sed -i ./makepkg.conf \

0 commit comments

Comments
 (0)