about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner2019-07-08 06:50:44 -0500
committerEfraim Flashner2019-07-09 00:52:09 -0500
commit3a2654b63743fc23fa45ba1d2c85e61acc9d1c03 (patch)
treeacc5dc8aa97af6e259454ff3c4872ba7936fa81b
parent1ad9db9d7f51dc11421c9c79006436bf47418571 (diff)
downloadguix-bioinformatics-3a2654b63743fc23fa45ba1d2c85e61acc9d1c03.tar.gz
gn: suitesparse-3.5.0: Build with -fPIC.
-rw-r--r--gn/packages/maths.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn/packages/maths.scm b/gn/packages/maths.scm
index 097000b..d696176 100644
--- a/gn/packages/maths.scm
+++ b/gn/packages/maths.scm
@@ -115,6 +115,9 @@
              (lambda _
                (substitute* "UFconfig/Makefile"
                  (("Lib/") ""))
+               ;; octave-3.4.3 expects it to be built with -fPIC
+               (substitute* "UFconfig/UFconfig.mk"
+                 (("-O3") "-O3 -fPIC"))
                #t))
            (add-before 'install 'prepare-directories
              (lambda* (#:key outputs #:allow-other-keys)