diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-12 12:02:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-12 22:16:32 +0100 |
commit | 951a4db98973cb7d19418db457c47161b4975c99 (patch) | |
tree | b53366de16c2d37a410c8515add03e07ec04fe23 /gnu/packages/maths.scm | |
parent | 7317c6e739d0792e3c4c1a33088819775cecc9ff (diff) | |
download | guix-951a4db98973cb7d19418db457c47161b4975c99.tar.gz guix-951a4db98973cb7d19418db457c47161b4975c99.zip |
gnu: sundials: Build with '-fcommon'.
* gnu/packages/maths.scm (sundials)[arguments]: Pass "-DCMAKE_C_FLAGS".
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 58bde73a0a..bfd1bc8573 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6183,7 +6183,8 @@ and comparisons are supported.") ("blas" ,openblas) ("suitesparse" ,suitesparse))) ;TODO: Add hypre (arguments - `(#:configure-flags `("-DEXAMPLES_ENABLE_C:BOOL=ON" + `(#:configure-flags `("-DCMAKE_C_FLAGS=-O2 -g -fcommon" + "-DEXAMPLES_ENABLE_C:BOOL=ON" "-DEXAMPLES_ENABLE_CXX:BOOL=ON" "-DEXAMPLES_ENABLE_F77:BOOL=ON" "-DEXAMPLES_ENABLE_F90:BOOL=ON" |