Skip to content

testing/oauth2-proxy: enable cgo to fix rv64

Kevin Daudt requested to merge kdaudt/aports:fix/oauth2-proxy-rv64 into master

For riscv64, go does not support internal linking with -buildmode=pie. Before go1.22, it was silently accepted, but since go1.22, it's failing to build.

Unless there is a good reason, we prefer to build with CGO, so remove the hardcoded flag in the Makefile.

See: https://github.com/golang/go/issues/64875

Edited by Kevin Daudt

Merge request reports