From 3a2654b63743fc23fa45ba1d2c85e61acc9d1c03 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 8 Jul 2019 06:50:44 -0500 Subject: gn: suitesparse-3.5.0: Build with -fPIC. --- gn/packages/maths.scm | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3