diff options
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 9 |
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 @@ | |||
1 | Name: hmatrix | 1 | Name: hmatrix |
2 | Version: 0.11.0.3 | 2 | Version: 0.11.0.4 |
3 | License: GPL | 3 | License: GPL |
4 | License-file: LICENSE | 4 | License-file: LICENSE |
5 | Author: Alberto Ruiz | 5 | Author: 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 | ||
90 | flag fpudebug | ||
91 | description: Check FPU stack | ||
92 | default: False | ||
93 | |||
90 | library | 94 | library |
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 | ||