Remove cgo flags

This commit is contained in:
nxshock 2022-02-09 10:41:04 +05:00
parent fbb8c376d4
commit 4558b43e70

View File

@ -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"
} }