From 127c637cf0a80e0ea68a7c5aaa088e5ccc9d3d13 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 18 Aug 2022 18:04:48 +0100 Subject: [PATCH] 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. --- contrib/guix/manifest.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/guix/manifest.scm b/contrib/guix/manifest.scm index e266e7d0ee..dc42563cdd 100644 --- a/contrib/guix/manifest.scm +++ b/contrib/guix/manifest.scm @@ -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