summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-07-14 18:05:41 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-17 22:21:16 +0200
commit8f9df3fbfd190c8d2a438c1ecf43a1dcba5bcfcb (patch)
tree65e7720c7c2baa62e724cd73e9feb026fe4672b8
parent59aaf5708b1b2f82ac4cc852f1491cc5c48f22af (diff)
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
-rw-r--r--gnu/packages/cdrom.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 91becdef91..1b07544ad5 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -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"