guix: pass --enable-initfini-array to release GCC

This returns us to pre-Guix behaviour, where the compilers we were using
to build releases, were configured with this option.
This commit is contained in:
fanquake 2022-08-18 18:04:48 +01:00
parent 74981aa02d
commit 127c637cf0
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -139,9 +139,11 @@ chain for " target " development."))
;; https://gcc.gnu.org/install/configure.html
(define (hardened-gcc gcc)
(package-with-extra-configure-variable (
package-with-extra-configure-variable gcc
"--enable-default-ssp" "yes")
"--enable-default-pie" "yes"))
package-with-extra-configure-variable (
package-with-extra-configure-variable gcc
"--enable-initfini-array" "yes")
"--enable-default-ssp" "yes")
"--enable-default-pie" "yes"))
(define* (make-bitcoin-cross-toolchain target
#:key