aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/manifest.scm
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-18 18:04:48 +0100
committerfanquake <fanquake@gmail.com>2023-03-01 21:23:36 +0100
commit127c637cf0a80e0ea68a7c5aaa088e5ccc9d3d13 (patch)
tree51697faeb86e2084d76ca2d4ece2647b010e9e61 /contrib/guix/manifest.scm
parent74981aa02d2b14ad1c0b82d1eb09cf3169eaa8ae (diff)
downloadbitcoin-127c637cf0a80e0ea68a7c5aaa088e5ccc9d3d13.tar.xz
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.
Diffstat (limited to 'contrib/guix/manifest.scm')
-rw-r--r--contrib/guix/manifest.scm8
1 files 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