From c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 15 Nov 2020 07:49:20 +1300 Subject: Re-enable LDFLAGS --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 4c4736a..ddbd728 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname='dnsx' pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Fast and multi-purpose DNS toolkit' arch=('x86_64') url='https://github.com/projectdiscovery/dnsx' @@ -21,7 +21,7 @@ build() { export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" - #export CGO_LDFLAGS="${LDFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" cd "${pkgname}-${pkgver}/cmd/${pkgname}" -- cgit v1.2.3-70-g09d2