mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-20 08:05:54 +02:00
gnu: commencement: Build ‘perl-boot0’ without stack protector on the Hurd.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Pass “-A ccflags=-fno-stack-protector” on GNU/Hurd. Change-Id: I04d4e276cdcc1bbf589273791a3f64e5a17c4152
This commit is contained in:
@@ -2484,7 +2484,14 @@ exec " gcc "/bin/" program
|
||||
;; support is missing.
|
||||
((#:configure-flags configure-flags)
|
||||
#~(delete "-Dusethreads"
|
||||
#$configure-flags)))))))
|
||||
|
||||
;; On i586-gnu, linking fails with "undefined
|
||||
;; reference to `__stack_chk_guard'" so avoid
|
||||
;; '-fstack-protector'.
|
||||
#$(if (target-hurd?)
|
||||
#~(cons* "-A" "ccflags=-fno-stack-protector"
|
||||
#$configure-flags)
|
||||
configure-flags))))))))
|
||||
|
||||
(define m4-boot0
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user