From c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 15 Nov 2020 07:49:20 +1300 Subject: Re-enable LDFLAGS --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b47ba0a..a2c1442 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = dnsx pkgdesc = Fast and multi-purpose DNS toolkit pkgver = 1.0.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/projectdiscovery/dnsx arch = x86_64 license = MIT 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