summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-11-15 07:49:20 +1300
committercaltlgin2020-11-15 07:49:20 +1300
commitc63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6 (patch)
treea1f69cce14b715f70c7fb99a8d031f79fdd051ef /PKGBUILD
parent463986858db228ccd96b7a5f46504df350f65253 (diff)
downloadpackages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.tar.gz
packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.tar.bz2
packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.zip
Re-enable LDFLAGS
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4c4736a..ddbd728 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
2 2
3pkgname='dnsx' 3pkgname='dnsx'
4pkgver=1.0.0 4pkgver=1.0.0
5pkgrel=1 5pkgrel=2
6pkgdesc='Fast and multi-purpose DNS toolkit' 6pkgdesc='Fast and multi-purpose DNS toolkit'
7arch=('x86_64') 7arch=('x86_64')
8url='https://github.com/projectdiscovery/dnsx' 8url='https://github.com/projectdiscovery/dnsx'
@@ -21,7 +21,7 @@ build() {
21 export CGO_CPPFLAGS="${CPPFLAGS}" 21 export CGO_CPPFLAGS="${CPPFLAGS}"
22 export CGO_CFLAGS="${CFLAGS}" 22 export CGO_CFLAGS="${CFLAGS}"
23 export CGO_CXXFLAGS="${CXXFLAGS}" 23 export CGO_CXXFLAGS="${CXXFLAGS}"
24 #export CGO_LDFLAGS="${LDFLAGS}" 24 export CGO_LDFLAGS="${LDFLAGS}"
25 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" 25 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
26 26
27 cd "${pkgname}-${pkgver}/cmd/${pkgname}" 27 cd "${pkgname}-${pkgver}/cmd/${pkgname}"