diff options
author | Ashish SHUKLA <ashish.is@lostca.se> | 2025-07-28 01:55:04 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-28 11:39:20 +0200 |
commit | 0285d353bfe03ee34e5831a1f0a08ec22e252297 (patch) | |
tree | ec9aef34e4863a4ed2744032aa7715226e7563b3 | |
parent | ec16c5778fdbd9fed5ce95b2cfb959afd51e915e (diff) |
gnu: fdisk: Fix build with GCC 14.
* gnu/packages/disk.scm (fdisk)[phases]<#:make-flags>: Add CFLAGS.
Fixes: guix/guix#1636
Change-Id: I668b0e2e22d08ece2dcae4aee117ff36050e2031
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r-- | gnu/packages/disk.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index a4df50bd4b..85ba2e47d1 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -349,7 +349,11 @@ tables. It includes a library and command-line utility.") #:make-flags (list (string-append "CPPFLAGS=" " -I../common/include " " -I../debug/include " - " -I../exception/include")))) + " -I../exception/include") + (string-append + "CFLAGS=" + "-Wno-error=implicit-function-declaration " + "-Wno-error=incompatible-pointer-types")))) (home-page "https://www.gnu.org/software/fdisk/") (synopsis "Low-level disk partitioning and formatting") (description |