File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5
5
pkgbase=pacman
6
6
pkgname=(libalpm pacman repo-tools)
7
7
pkgver=7.0.0
8
- pkgrel=6
9
- arch=(x86_64 aarch64 riscv64)
8
+ pkgrel=7
9
+ arch=(x86_64 aarch64 riscv64 loongarch64 )
10
10
url=https://www.archlinux.org/pacman/
11
11
license=(GPL)
12
12
makedepends=(meson libarchive openssl ninja acl curl xz gpgme) # TODO: asciidoc doxygen
@@ -84,13 +84,14 @@ build()
84
84
x86_64) makepkg_cflags+=" -march=x86-64 -fstack-clash-protection -fcf-protection" ;;
85
85
aarch64) makepkg_cflags+=" -march=armv8-a" ;;
86
86
riscv64) makepkg_cflags+=" -march=rv64gc" ;;
87
+ loongarch64) makepkg_cflags+=" -march=la464" ;;
87
88
esac
88
89
case $CARCH in
89
90
riscv64) makepkg_rustarch=" riscv64gc" ;;
90
91
* ) makepkg_rustarch=" ${CARCH} "
91
92
esac
92
93
case $CARCH in
93
- riscv64) makepkg_lto=" !lto" ;;
94
+ riscv64|loongarch64 ) makepkg_lto=" !lto" ;;
94
95
* ) makepkg_lto=" lto"
95
96
esac
96
97
sed -i ./makepkg.conf \
You can’t perform that action at this time.
0 commit comments