1
0
Fork 0
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:
fossdd 2025-07-10 21:10:27 +02:00 committed by achill (fossdd)
parent 7c528e0cf2
commit d67a781477

View file

@ -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
}