andreas pushed a commit to branch master
in repository guix.

commit 468bfd13a05dec7b560ef50a70713226835facac
Author: Andreas Enge <[email protected]>
Date:   Fri Jun 21 09:55:13 2019 +0200

    gnu: ratpoints: Generate position-independent code.
    
    * gnu/packages/algebra.scm (ratpoints): Add "CCFLAGS=-fPIC" to make flags.
---
 gnu/packages/algebra.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 03b0e48..edcfad1 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1353,7 +1353,8 @@ multiplication algorithm.")
     (arguments
      `(#:test-target "test"
        #:make-flags
-       (list (string-append "INSTALL_DIR=" (assoc-ref %outputs "out")))
+       (list (string-append "INSTALL_DIR=" (assoc-ref %outputs "out"))
+             "CCFLAGS=-fPIC")
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)            ;no configure script

Reply via email to