summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-07-19 11:28:49 +0200
committerZheng Junjie <z572@z572.online>2025-07-19 17:38:52 +0800
commit5dc7e7a75dbc988a2c2979cd6459cadfc8252165 (patch)
treeacf6aab013c6a1be35614042e7c319771f3a0fba
parent9bff5e0ecb40fe3988ea8b33d679dedca03a7bdc (diff)
gnu: pnet-git: Fix build with gcc 14.
* /gnu/packages/dotnet.scm (pnet-git)[arguments]<#:make-flags>: Add -Wno-error=implicit-function-declaration and -Wno-error=incompatible-pointer-types. Change-Id: Ifbeb5e07f1063d96a0bb9393dcc44daf5ee3f680 Signed-off-by: Zheng Junjie <z572@z572.online>
-rw-r--r--gnu/packages/dotnet.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm
index e00eeaffd7..45e8f85134 100644
--- a/gnu/packages/dotnet.scm
+++ b/gnu/packages/dotnet.scm
@@ -166,7 +166,10 @@ code to handle abstract syntax trees and operations upon the trees.")
(list #:configure-flags #~(list "--with-jit"))
'())
(list #:make-flags
- #~(list "CFLAGS=-O2 -g -Wno-pointer-to-int-cast"))))
+ #~(list (string-append
+ "CFLAGS=-O2 -g -Wno-pointer-to-int-cast"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=incompatible-pointer-types")))))
(native-search-paths
(list (search-path-specification
(variable "CSCC_LIB_PATH")