summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/glpk/hmatrix-glpk.cabal5
-rw-r--r--packages/special/hmatrix-special.cabal8
2 files changed, 10 insertions, 3 deletions
diff --git a/packages/glpk/hmatrix-glpk.cabal b/packages/glpk/hmatrix-glpk.cabal
index ea6d0ce..3231ef7 100644
--- a/packages/glpk/hmatrix-glpk.cabal
+++ b/packages/glpk/hmatrix-glpk.cabal
@@ -30,7 +30,10 @@ library
30 30
31 c-sources: lib/Numeric/LinearProgramming/glpk.c 31 c-sources: lib/Numeric/LinearProgramming/glpk.c
32 32
33 ghc-options: -Wall 33 if impl(ghc < 7.4)
34 ghc-options: -Wall -fno-warn-dodgy-imports
35 else
36 ghc-options: -Wall
34 37
35 extra-libraries: glpk 38 extra-libraries: glpk
36 39
diff --git a/packages/special/hmatrix-special.cabal b/packages/special/hmatrix-special.cabal
index 4dd884b..25880a9 100644
--- a/packages/special/hmatrix-special.cabal
+++ b/packages/special/hmatrix-special.cabal
@@ -66,8 +66,12 @@ library
66 66
67 other-modules: Numeric.GSL.Special.Internal 67 other-modules: Numeric.GSL.Special.Internal
68 68
69 ghc-options: -Wall -fno-warn-unused-binds 69 if impl(ghc < 7.4)
70 70 ghc-options: -Wall -fno-warn-unused-binds
71 -fno-warn-dodgy-imports
72 else
73 ghc-options: -Wall -fno-warn-orphans
74
71 if flag(safe-cheap) 75 if flag(safe-cheap)
72 cpp-options: -DSAFE_CHEAP=safe 76 cpp-options: -DSAFE_CHEAP=safe
73 else 77 else