aboutsummaryrefslogtreecommitdiffstats
path: root/community/go-bindata/APKBUILD
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-03-03 20:39:20 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-03-03 20:39:40 +0000
commit3a585113dd23450638dee2ee81615c667e6f5da1 (patch)
tree6097136794383671091416e789f1c4ce3e9c9c2e /community/go-bindata/APKBUILD
parentcdaa5f428bdc47ccd19fc4dcb46d48be8e76c763 (diff)
downloadaports-3a585113dd23450638dee2ee81615c667e6f5da1.tar.gz
aports-3a585113dd23450638dee2ee81615c667e6f5da1.tar.bz2
aports-3a585113dd23450638dee2ee81615c667e6f5da1.tar.xz
community/go-bindata: remove explicit -buildmode=pie
This is controlled via $GOFLAGS and breaks the build on mips64
Diffstat (limited to 'community/go-bindata/APKBUILD')
-rw-r--r--community/go-bindata/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/go-bindata/APKBUILD b/community/go-bindata/APKBUILD
index 3e6b42f5d5..7c3b4a5943 100644
--- a/community/go-bindata/APKBUILD
+++ b/community/go-bindata/APKBUILD
@@ -12,8 +12,8 @@ options="!check" # No test suite
source="go-bindata-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
build() {
- export GOPATH="$srcdir"
- export GOFLAGS="$GOFLAGS -buildmode=pie -trimpath -mod=readonly -modcacherw"
+ export GOPATH="$srcdir/go"
+ export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
go build -ldflags="-s -w" -v -o bin/"$pkgname" ./"$pkgname"
}