summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal9
1 files changed, 8 insertions, 1 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index 764198c..10c8173 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix 1Name: hmatrix
2Version: 0.11.0.3 2Version: 0.11.0.4
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
@@ -87,6 +87,10 @@ flag finit
87 description: Force FPU initialization in foreing calls 87 description: Force FPU initialization in foreing calls
88 default: False 88 default: False
89 89
90flag fpudebug
91 description: Check FPU stack
92 default: False
93
90library 94library
91 95
92 Build-Depends: base >= 4 && < 5, 96 Build-Depends: base >= 4 && < 5,
@@ -170,6 +174,9 @@ library
170 if flag(finit) 174 if flag(finit)
171 cpp-options: -DFINIT 175 cpp-options: -DFINIT
172 176
177 if flag(fpudebug)
178 cc-options: -DFPUDEBUG
179
173 if impl(ghc == 7.0.1) 180 if impl(ghc == 7.0.1)
174 cpp-options: -DNONORMVTEST 181 cpp-options: -DNONORMVTEST
175 182