From e6eafd4277fe249dfc49e953c396cd4c93977088 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 21 Jun 2019 09:49:57 +0200 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 5cf981cda7..03b0e48671 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 _ -- cgit v1.2.3