me
/
guix
Archived
1
0
Fork 0

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
master
Efraim Flashner 2024-05-02 18:22:34 +03:00
parent 600860e8ac
commit ae1873558c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 0 deletions

View File

@ -6509,6 +6509,10 @@ deployments.")
(search-input-file %build-inputs (search-input-file %build-inputs
"/bin/gcc")) "/bin/gcc"))
"--localstatedir=/var") "--localstatedir=/var")
,@(if (target-x86-32?)
'(#:make-flags
(list "CFLAGS+=-fexcess-precision=standard"))
'())
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'use-absolute-file-names (add-after 'unpack 'use-absolute-file-names