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 committed 2023-03-01 21:23:36 +01:00
1 parent 74981aa02d
commit 127c637cf0
1 file changed
+5 -3
+5 -3
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