mirror of
https://github.com/nxshock/promodj.git
synced 2024-11-27 03:01:01 +05:00
Remove cgo flags
This commit is contained in:
parent
fbb8c376d4
commit
4558b43e70
4
PKGBUILD
4
PKGBUILD
@ -14,10 +14,6 @@ sha256sums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
|
||||||
export CGO_CFLAGS="${CFLAGS}"
|
|
||||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
|
||||||
export CGO_LDFLAGS="${LDFLAGS}"
|
|
||||||
go build -o $pkgname -buildmode=pie -trimpath -ldflags="-linkmode=external -s -w"
|
go build -o $pkgname -buildmode=pie -trimpath -ldflags="-linkmode=external -s -w"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user