From 858121cdcc6c24cb15e28e1c4c2b3050ef53fe00 Mon Sep 17 00:00:00 2001 From: Sidharth Kapur Date: Mon, 1 Feb 2016 17:49:51 -0600 Subject: Remove CPP option from cabal files Use {-# LANGUAGE CPP #-} instead. --- packages/special/hmatrix-special.cabal | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages/special/hmatrix-special.cabal') diff --git a/packages/special/hmatrix-special.cabal b/packages/special/hmatrix-special.cabal index 3b122c8..368ed2c 100644 --- a/packages/special/hmatrix-special.cabal +++ b/packages/special/hmatrix-special.cabal @@ -29,8 +29,7 @@ flag safe-cheap library Build-Depends: base <5, hmatrix>=0.17, hmatrix-gsl - Extensions: ForeignFunctionInterface, - CPP + Extensions: ForeignFunctionInterface hs-source-dirs: lib @@ -67,7 +66,7 @@ library other-modules: Numeric.GSL.Special.Internal ghc-options: -Wall -fno-warn-unused-binds - + if flag(safe-cheap) cpp-options: -DSAFE_CHEAP=safe else -- cgit v1.2.3