summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2019-06-21 09:49:57 +0200
committerAndreas Enge <andreas@enge.fr>2019-06-21 09:49:57 +0200
commite6eafd4277fe249dfc49e953c396cd4c93977088 (patch)
tree80ea275b76500c3c1f7a9d6312bc8b645e61ee58
parentc68ec87ca7f5e56fa930541fbb6e17fd277dbf1b (diff)
downloadguix-e6eafd4277fe249dfc49e953c396cd4c93977088.tar.gz
gnu: symmetrica: Generate position-independent code.
* gnu/packages/algebra.scm (symmetrica): Add -fPIC compiler flag.
-rw-r--r--gnu/packages/algebra.scm2
1 files changed, 1 insertions, 1 deletions
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 _