guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: sundials: Build with '-fcommon'.


From: guix-commits
Subject: 01/03: gnu: sundials: Build with '-fcommon'.
Date: Sun, 12 Dec 2021 16:34:51 -0500 (EST)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit 951a4db98973cb7d19418db457c47161b4975c99
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Dec 12 12:02:29 2021 +0100

    gnu: sundials: Build with '-fcommon'.
    
    * gnu/packages/maths.scm (sundials)[arguments]: Pass "-DCMAKE_C_FLAGS".
---
 gnu/packages/maths.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 58bde73..bfd1bc8 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]