Enable CGO

CGO_*FLAGS will not work if CGO is disabled. Enabling CGO makes the binary hardened with Full RELRO etc.

Also, this enables build on riscv64, which requires CGO for external linking.

Merge request reports

Loading