aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-05-02 18:22:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-05-06 23:16:45 +0300
commitae1873558ca0d19383bce07a2c8867e1a5cf45cc (patch)
tree751965193f07ba2980e9e93b8580d3a40f6d56f6 /gnu/packages/web.scm
parent600860e8aceb24ae3c2c403e45364cd01233f474 (diff)
downloadguix-ae1873558ca0d19383bce07a2c8867e1a5cf45cc.tar.gz
guix-ae1873558ca0d19383bce07a2c8867e1a5cf45cc.zip
gnu: varnish: Fix build on i686-linux.
* gnu/packages/web.scm (varnish)[arguments]: When building for i686-linux add a make-flag to adjust the CFLAGS. Change-Id: I9dbd9566de33f2ad7445e3a7ee8bc2d01e430cc9
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3aee55055b..7fff7a7072 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6509,6 +6509,10 @@ deployments.")
(search-input-file %build-inputs
"/bin/gcc"))
"--localstatedir=/var")
+ ,@(if (target-x86-32?)
+ '(#:make-flags
+ (list "CFLAGS+=-fexcess-precision=standard"))
+ '())
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'use-absolute-file-names