summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2013-08-15 12:00:07 +0200
committerAlberto Ruiz <aruiz@um.es>2013-08-15 12:00:07 +0200
commit374194ee454622e66c931dce8f315c68167c7ac9 (patch)
tree37ae90ac4287b29c3eea4783a4771d8d454877c7
parent2a936e0d30ed1f02ae33baa3124fb7a77d52231b (diff)
fixed bus error in 64-bit interpreted mode
-rw-r--r--THANKS.md2
-rw-r--r--hmatrix.cabal6
2 files changed, 7 insertions, 1 deletions
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.
126 126
127- Stephen J. Barr suggested flipping argument order in the double integral example 127- Stephen J. Barr suggested flipping argument order in the double integral example
128 128
129- Greg Horn fixed the bus error on ghci 64-bit.
130
diff --git a/hmatrix.cabal b/hmatrix.cabal
index 21ed691..50a821a 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix 1Name: hmatrix
2Version: 0.15.0.0 2Version: 0.15.0.1
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
@@ -189,6 +189,10 @@ library
189 if os(windows) 189 if os(windows)
190 extra-libraries: gsl-0 blas lapack 190 extra-libraries: gsl-0 blas lapack
191 191
192 if os(linux)
193 if arch(x86_64)
194 cc-options: -fPIC
195
192-- The extra-libraries required for GSL and LAPACK 196-- The extra-libraries required for GSL and LAPACK
193-- should now be automatically detected by configure(.hs) 197-- should now be automatically detected by configure(.hs)
194 198