mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05: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:
parent
1fce094bfb
commit
4f55c361f4
1 changed files with 8 additions and 1 deletions
|
@ -2484,7 +2484,14 @@ (define perl-boot0
|
|||
;; 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
|
||||
|
|
Loading…
Reference in a new issue