]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
Update the cabal file for ghc-7.4.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 3 Jan 2012 16:46:02 +0000 (11:46 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 3 Jan 2012 16:46:02 +0000 (11:46 -0500)
spline3.cabal

index 4912de022666de94566cd12c76c83c338bb5037c..df7697dcb61cf8c60ad739544d5436b314242979 100644 (file)
@@ -18,7 +18,7 @@ flag LLVM
 
 executable spline3
   build-depends:
-    base                        == 4.4.*,
+    base                        == 4.5.*,
     filepath                    == 1.*,
     HUnit                       == 1.2.*,
     QuickCheck                  == 2.4.*,
@@ -60,17 +60,13 @@ executable spline3
       -optlc-O3
   else
     ghc-options:
+      -O2
       -optc-O3
       -optc-march=native
 
-  -- GHC's -O2 and -fhpc don't get along too well at the moment.
-  -- Note: this relies on the LLVM/HPC flags being mutually-exclusive.
   if flag(hpc)
     ghc-options:
       -fhpc
-  else
-    ghc-options:
-      -O2
 
   ghc-prof-options:
     -prof