diff options
author | caltlgin | 2020-11-15 07:49:20 +1300 |
---|---|---|
committer | caltlgin | 2020-11-15 07:49:20 +1300 |
commit | c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6 (patch) | |
tree | a1f69cce14b715f70c7fb99a8d031f79fdd051ef | |
parent | 463986858db228ccd96b7a5f46504df350f65253 (diff) | |
download | packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.tar.gz packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.tar.bz2 packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.zip |
Re-enable LDFLAGS
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = dnsx | 1 | pkgbase = dnsx |
2 | pkgdesc = Fast and multi-purpose DNS toolkit | 2 | pkgdesc = Fast and multi-purpose DNS toolkit |
3 | pkgver = 1.0.0 | 3 | pkgver = 1.0.0 |
4 | pkgrel = 1 | 4 | pkgrel = 2 |
5 | url = https://github.com/projectdiscovery/dnsx | 5 | url = https://github.com/projectdiscovery/dnsx |
6 | arch = x86_64 | 6 | arch = x86_64 |
7 | license = MIT | 7 | license = MIT |
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | pkgname='dnsx' | 3 | pkgname='dnsx' |
4 | pkgver=1.0.0 | 4 | pkgver=1.0.0 |
5 | pkgrel=1 | 5 | pkgrel=2 |
6 | pkgdesc='Fast and multi-purpose DNS toolkit' | 6 | pkgdesc='Fast and multi-purpose DNS toolkit' |
7 | arch=('x86_64') | 7 | arch=('x86_64') |
8 | url='https://github.com/projectdiscovery/dnsx' | 8 | url='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}" |