From 374194ee454622e66c931dce8f315c68167c7ac9 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 15 Aug 2013 12:00:07 +0200 Subject: fixed bus error in 64-bit interpreted mode --- THANKS.md | 2 ++ hmatrix.cabal | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/THANKS.md b/THANKS.md index 1bdf408..7bd1dac 100644 --- a/THANKS.md +++ b/THANKS.md @@ -126,3 +126,5 @@ module reorganization, monadic mapVectorM, and many other improvements. - Stephen J. Barr suggested flipping argument order in the double integral example +- Greg Horn fixed the bus error on ghci 64-bit. + diff --git a/hmatrix.cabal b/hmatrix.cabal index 21ed691..50a821a 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal @@ -1,5 +1,5 @@ Name: hmatrix -Version: 0.15.0.0 +Version: 0.15.0.1 License: GPL License-file: LICENSE Author: Alberto Ruiz @@ -189,6 +189,10 @@ library if os(windows) extra-libraries: gsl-0 blas lapack + if os(linux) + if arch(x86_64) + cc-options: -fPIC + -- The extra-libraries required for GSL and LAPACK -- should now be automatically detected by configure(.hs) -- cgit v1.2.3