diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-07-20 04:26:18 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-07-20 13:05:22 +0200 |
| commit | 29182f4babd9aa3e43fd2906b66686b4a7b7acf2 (patch) | |
| tree | 066f0c29bec33bb19c3595b43e82a0c10277f5d7 /gnu | |
| parent | 0f9ddc4c75bb5ce31291919cc3558ce0d8d3efde (diff) | |
gnu: mono@3.12.1: Fix build with gcc 14.
* gnu/packages/dotnet.scm (mono-3.12.1)[arguments]<#:phases>[set-cflags]:
Adjust CFLAGS.
Change-Id: I68f36d420c04121294221d09c866ffdc2f40348b
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/dotnet.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm index 855061e4fbd..c1f5aecf00d 100644 --- a/gnu/packages/dotnet.scm +++ b/gnu/packages/dotnet.scm @@ -792,6 +792,10 @@ a C-style programming language from Microsoft that is very similar to Java.") (substitute-keyword-arguments (package-arguments mono-3.0) ((#:phases phases #~%standard-phases) #~(modify-phases #$phases + (replace 'set-cflags + (lambda _ + (setenv "CFLAGS" "-O2 -g -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=implicit-int -Wno-error=return-mismatch -Wno-error=int-conversion") +)) (add-after 'unpack 'set-TZ (lambda _ ;; for some reason a default is only used if this is empty, not |
