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 /PKGBUILD | |
parent | 463986858db228ccd96b7a5f46504df350f65253 (diff) | |
download | packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.tar.gz packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.tar.bz2 packages-c63e8bedcd7a32ce1abb1eafdbbf121cfff1a6a6.zip |
Re-enable LDFLAGS
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}" |