~ruther/guix-local

55777833aef3df8aca919d9b4f20ec37f6cb3950 — Andreas Enge 1 year, 4 months ago 64231ad
gnu: cdrtools: Fix build with gcc@14.

* gnu/packages/cdrom.scm (cdrtools)[arguments]<#:make-flags>:
Add flags keeping warnings as non-errors, and a now needed "-fPIC".

Change-Id: Ia545470546de36a1b55cfdd1d1c68eaf5c32b8c0
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/cdrom.scm
M gnu/packages/cdrom.scm => gnu/packages/cdrom.scm +8 -0
@@ 410,6 410,14 @@ format, commonly used for VCDs or disks with subchannel data.")
    (arguments
     (list #:make-flags
        #~(list "RM=rm" "LN=ln" "SYMLINK=ln -s"
                (string-append
                  "CFLAGS="
                  ;; The following are needed to placate gcc@14.
                  "-Wno-error=implicit-int "
                  "-Wno-error=implicit-function-declaration "
                  ;; The following is probably there when CFLAGS are not
                  ;; defined, but needs to be set explicitly now.
                  "-g -O2 -fPIC")
                "CONFIG_SHELL=sh"
                (string-append "CCOM=" #$(cc-for-target))
                "LINKMODE=dynamic"