1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-24 03:00:35 +02:00

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

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 _