gnu: symmetrica: Generate position-independent code.

* gnu/packages/algebra.scm (symmetrica): Add -fPIC compiler flag.
This commit is contained in:
Andreas Enge 2019-06-21 09:49:57 +02:00
parent c68ec87ca7
commit e6eafd4277
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 1 additions and 1 deletions

View File

@ -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 _