diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-10-31 22:49:13 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-10-31 22:54:31 +0300 |
| commit | b77a918e54e4c9a3ce0e777d44e18af83588cdad (patch) | |
| tree | 869d157bc0ad233f98199dd9aafcb821f67127b3 /gnu/packages | |
| parent | 3df60427c680479d7511fe9f4d4cc7c14ce3134b (diff) | |
gnu: mpb: Fix build with gcc-14.
* gnu/packages/engineering.scm (mpb): Fix build with gcc-14.
[arguments]<#:phases>: Add "relax-gcc-14-strictness" phase.
Change-Id: I50c0b7507221a2c738d165b33e99474c65300130
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/engineering.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index ac1f4c0c82d..5fb88cfb6b1 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm | |||
| @@ -1806,7 +1806,17 @@ for scientific simulations.") | |||
| 1806 | (list (string-append "--with-libctl=" | 1806 | (list (string-append "--with-libctl=" |
| 1807 | (assoc-ref %build-inputs "libctl") | 1807 | (assoc-ref %build-inputs "libctl") |
| 1808 | "/share/libctl") | 1808 | "/share/libctl") |
| 1809 | "--enable-shared"))) | 1809 | "--enable-shared") |
| 1810 | #:phases | ||
| 1811 | (modify-phases %standard-phases | ||
| 1812 | (add-before 'configure 'relax-gcc-14-strictness | ||
| 1813 | (lambda _ | ||
| 1814 | (setenv "CFLAGS" | ||
| 1815 | (string-join | ||
| 1816 | (list "-Wno-error=incompatible-pointer-types" | ||
| 1817 | "-Wno-error=implicit-function-declaration" | ||
| 1818 | "-Wno-error=int-conversion") | ||
| 1819 | " "))))))) | ||
| 1810 | (native-inputs | 1820 | (native-inputs |
| 1811 | `(("fortran" ,gfortran) | 1821 | `(("fortran" ,gfortran) |
| 1812 | ("pkg-config" ,pkg-config) | 1822 | ("pkg-config" ,pkg-config) |
