andreas pushed a commit to branch master
in repository guix.
commit e6eafd4277fe249dfc49e953c396cd4c93977088
Author: Andreas Enge <[email protected]>
Date: Fri Jun 21 09:49:57 2019 +0200
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(-)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 5cf981c..03b0e48 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 _