Skip to content

Commit 127c637

Browse files
committed
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.
1 parent 74981aa commit 127c637

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

contrib/guix/manifest.scm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,11 @@ chain for " target " development."))
139139
;; https://gcc.gnu.org/install/configure.html
140140
(define (hardened-gcc gcc)
141141
(package-with-extra-configure-variable (
142-
package-with-extra-configure-variable gcc
143-
"--enable-default-ssp" "yes")
144-
"--enable-default-pie" "yes"))
142+
package-with-extra-configure-variable (
143+
package-with-extra-configure-variable gcc
144+
"--enable-initfini-array" "yes")
145+
"--enable-default-ssp" "yes")
146+
"--enable-default-pie" "yes"))
145147

146148
(define* (make-bitcoin-cross-toolchain target
147149
#:key

0 commit comments

Comments
 (0)