1
0

Added CGO_*FLAGS env vars in PKGBUILD.

This commit is contained in:
Alexander Andreev 2023-09-23 03:51:25 +04:00
parent 35b48d29e6
commit 1628a26ed7
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -16,7 +16,11 @@ md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
export GOPATH="$srcdir"/gopath
make VERSION=$pkgver DESTDIR="$pkgdir/"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
make VERSION=$pkgver DESTDIR="$pkgdir/" PREFIX="/usr"
}
package() {