File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ chain for " target " development."))
147
147
#:key
148
148
(base-gcc-for-libc base-gcc)
149
149
(base-kernel-headers base-linux-kernel-headers)
150
- (base-libc (make -glibc-with-stack-protector (make-glibc-with-bind-now (make-glibc- without-werror glibc-2.27) )))
150
+ (base-libc (hardened -glibc (make-glibc-without-werror glibc-2.27)))
151
151
(base-gcc (make-gcc-rpath-link (hardened-gcc base-gcc))))
152
152
" Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
153
153
desirable for building Bitcoin Core release binaries."
@@ -537,11 +537,12 @@ inspecting signatures in Mach-O binaries.")
537
537
(define (make-glibc-without-werror glibc )
538
538
(package-with-extra-configure-variable glibc " enable_werror" " no" ))
539
539
540
- (define (make-glibc-with-stack-protector glibc )
541
- (package-with-extra-configure-variable glibc " --enable-stack-protector" " all" ))
542
-
543
- (define (make-glibc-with-bind-now glibc )
544
- (package-with-extra-configure-variable glibc " --enable-bind-now" " yes" ))
540
+ ; ; https://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html
541
+ (define (hardened-glibc glibc )
542
+ (package-with-extra-configure-variable (
543
+ package-with-extra-configure-variable glibc
544
+ " --enable-stack-protector" " all" )
545
+ " --enable-bind-now" " yes" ))
545
546
546
547
(define-public glibc-2.27
547
548
(package
You can’t perform that action at this time.
0 commit comments