gnu: ratpoints: Generate position-independent code.

* gnu/packages/algebra.scm (ratpoints): Add "CCFLAGS=-fPIC" to make flags.
This commit is contained in:
Andreas Enge 2019-06-21 09:55:13 +02:00
parent e6eafd4277
commit 468bfd13a0
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 2 additions and 1 deletions

View File

@ -1353,7 +1353,8 @@ multiplication algorithm.")
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
#:make-flags #:make-flags
(list (string-append "INSTALL_DIR=" (assoc-ref %outputs "out"))) (list (string-append "INSTALL_DIR=" (assoc-ref %outputs "out"))
"CCFLAGS=-fPIC")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) ;no configure script (delete 'configure) ;no configure script