From d0eb68801e7c8de0996f6799db5ea691588467fa Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 23 Dec 2011 14:21:36 +0100 Subject: ok also with ghc-7.0 --- hmatrix.cabal | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'hmatrix.cabal') diff --git a/hmatrix.cabal b/hmatrix.cabal index 387e4e6..79ac491 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal @@ -148,9 +148,16 @@ library -- ghc-prof-options: -auto - ghc-options: -Wall -fno-warn-missing-signatures - -fno-warn-orphans - -fno-warn-unused-binds + + if impl(ghc < 7.4) + ghc-options: -Wall -fno-warn-missing-signatures + -fno-warn-orphans + -fno-warn-unused-binds + -fno-warn-dodgy-imports + else + ghc-options: -Wall -fno-warn-missing-signatures + -fno-warn-orphans + -fno-warn-unused-binds if flag(unsafe) cpp-options: -DUNSAFE @@ -179,6 +186,9 @@ library if impl(ghc == 7.0.1) cpp-options: -DNONORMVTEST + if impl(ghc < 7.4) + cpp-options: -DNOPOLYKINDS -DABSTRACTCINT + if flag(mkl) if arch(x86_64) extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core -- cgit v1.2.3