diff options
author | Alberto Ruiz <aruiz@um.es> | 2011-12-23 14:21:36 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2011-12-23 14:21:36 +0100 |
commit | d0eb68801e7c8de0996f6799db5ea691588467fa (patch) | |
tree | e72251dc5013e316b89402685626be44a5f253e8 /packages/glpk | |
parent | 863fd69b44d6e65544973871043d89d1d6c50a9e (diff) |
ok also with ghc-7.0
Diffstat (limited to 'packages/glpk')
-rw-r--r-- | packages/glpk/hmatrix-glpk.cabal | 5 |
1 files changed, 4 insertions, 1 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 | ||