guix-patches
[Top][All Lists]
Advanced

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

[bug#57954] [PATCH] gnu: clapack: Use position-independent code for use


From: Nicolas Graves
Subject: [bug#57954] [PATCH] gnu: clapack: Use position-independent code for use as a library.
Date: Tue, 20 Sep 2022 14:40:10 +0200

* gnu/packages/maths.scm (clapack): Use position-independent code for use as a 
library.
---
 gnu/packages/maths.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 72d5e9a83a..0c4b7ada03 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -968,6 +968,7 @@ (define-public clapack
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon -O2")
+       #:make-flags '("-fPIC")
        #:phases
        (modify-phases %standard-phases
          ;; These tests use a lot of stack variables and segfault without
-- 
2.37.3






reply via email to

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