mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/docker-auth: disable PIE on s390x & riscv64
This commit is contained in:
parent
7c528e0cf2
commit
d67a781477
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,11 @@ builddir="$srcdir/docker_auth-$pkgver"
|
|||
options="net"
|
||||
|
||||
build() {
|
||||
# FIXME: "_cgo_pthread_key_created missing" failure at runtime
|
||||
case "$CARCH" in
|
||||
s390x|riscv64) export GOFLAGS="${GOFLAGS//-buildmode=pie/}" ;;
|
||||
esac
|
||||
|
||||
make -C auth_server VERSION="$pkgver" BUILD_ID="$pkgver@alpine" build
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue