aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/commencement.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 62bb2d6c96..0aec12c72b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -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