guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: symmetrica: Generate position-independent code.


From: guix-commits
Subject: 02/03: gnu: symmetrica: Generate position-independent code.
Date: Fri, 21 Jun 2019 04:17:31 -0400 (EDT)

andreas pushed a commit to branch master
in repository guix.

commit e6eafd4277fe249dfc49e953c396cd4c93977088
Author: Andreas Enge <address@hidden>
Date:   Fri Jun 21 09:49:57 2019 +0200

    gnu: symmetrica: Generate position-independent code.
    
    * gnu/packages/algebra.scm (symmetrica): Add -fPIC compiler flag.
---
 gnu/packages/algebra.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 5cf981c..03b0e48 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1400,7 +1400,7 @@ by using an optimized quadratic sieve algorithm.")
          (add-after 'unpack 'fix-makefile
            (lambda _
              (substitute* "makefile"
-               (("cc -c") "gcc -c"))
+               (("cc -c") "gcc -c -fPIC"))
              #t))
          (add-after 'fix-makefile 'turn-off-banner
            (lambda _



reply via email to

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