~ruther/guix-local

355b6125c02790bf24a39a90e155e68f577d4982 — Andreas Enge 8 months ago 53871cf
gnu: v86d: Fix build with gcc@14.

* gnu/packages/xorg.scm (v86d)[arguments]<#:phases>{'configure}: Set CFLAGS.

Change-Id: Ibcd9a3f78286b234765178a8e6f9c9bf2e543c7e
1 files changed, 5 insertions(+), 0 deletions(-)

M gnu/packages/xorg.scm
M gnu/packages/xorg.scm => gnu/packages/xorg.scm +5 -0
@@ 3479,6 3479,11 @@ X server.")
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
               (setenv "CC" (which "gcc"))
               (setenv "CFLAGS"
                       (string-append
                         "-g -O2 "
                         "-Wno-error=incompatible-pointer-types "
                         "-Wno-error=stringop-truncation"))
               (setenv "DESTDIR" out)
               (invoke "./configure" "--with-x86emu"))))
         (add-after 'build 'build-testvbe