File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 55pkgbase=pacman
66pkgname=(libalpm pacman repo-tools)
77pkgver=7.0.0
8- pkgrel=7
8+ pkgrel=8
99arch=(x86_64 aarch64 riscv64 loongarch64)
1010url=https://www.archlinux.org/pacman/
1111license=(GPL)
@@ -27,7 +27,7 @@ source=(
2727sha256sums=(' ef08f258cb3e0885c5884ad43fb6cff0e9c327ed33024d79d03555f99c583744'
2828 ' 553c3547b524f0169e7edfad508226037582c882b97f2660942513545dc7a8cf'
2929 ' 0865036ef04a06b00926640ac7db2275988b834f435101e8110eedf8a2e58b88'
30- ' a68b8c096ef27422278f68ed8511d80cf8fdb885bb53912a2f0694accc5249a5 '
30+ ' 433de4a7108998434338ea199ee312e825e7d6215ee51aa0bf2cfbfe45540ca5 '
3131 ' 738432ead6dae6c63a5cbd33e110f8a5e34f5143d125e183cf77dc3dbe87fe92'
3232 ' 9b1e4d7076137fb8ebb609068403024dc66d6d3c3b53b718401d4c79c8437d8f'
3333 ' 7d2ad28bef8f9f77f33929d2050244a6f29941de6ad0793b6820caee3dbd84e3'
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ MAKEFLAGS="CC=cc CXX=c++ LIBTOOL=slibtool LIBTOOLIZE=slibtoolize -j$JOBS"
2121RUSTFLAGS="-C target-feature=-crt-static"
2222LTOFLAGS="-flto=auto"
2323
24+ # Go Flags are not exported by default, need to export explicitly
25+ export CGO_CFLAGS="${CFLAGS}"
26+ export CGO_CXXFLAGS="${CXXFLAGS}"
27+ export CGO_LDFLAGS="${LDFLAGS}"
28+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
29+
2430BUILDENV=(!distcc color !ccache check !sign)
2531
2632OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug @@BUILD_GEN_LTO@@ !autodeps)
You can’t perform that action at this time.
0 commit comments