From 4558b43e70de5aa6bbbfc8cbb39c06501d76db07 Mon Sep 17 00:00:00 2001 From: nxshock Date: Wed, 9 Feb 2022 10:41:04 +0500 Subject: [PATCH] Remove cgo flags --- PKGBUILD | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 864f103..a191a99 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,10 +14,6 @@ sha256sums=('SKIP') build() { 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" }