Added CGO_*FLAGS env vars in PKGBUILD.
This commit is contained in:
parent
35b48d29e6
commit
1628a26ed7
@ -16,7 +16,11 @@ md5sums=('SKIP')
|
|||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
export GOPATH="$srcdir"/gopath
|
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() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user