aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/base.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 5c976aee52..aa5200294f 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -369,7 +369,11 @@ standard.")
(inputs `(("guile" ,guile-3.0)))
(outputs '("out" "debug"))
(arguments
- '(#:phases
+ `(,@(if (hurd-target?)
+ '(#:configure-flags '("CFLAGS=-D__alloca=alloca"
+ "ac_cv_func_posix_spawn=no"))
+ '())
+ #:phases
(modify-phases %standard-phases
(add-before 'build 'set-default-shell
(lambda* (#:key inputs #:allow-other-keys)