diff --git a/repa.cabal b/repa.cabal
--- a/repa.cabal
+++ b/repa.cabal
@@ -1,5 +1,5 @@
 Name:                repa
-Version:             3.4.0.2
+Version:             3.4.1.1
 License:             BSD3
 License-file:        LICENSE
 Author:              The DPH Team
@@ -20,19 +20,23 @@
         High performance, regular, shape polymorphic parallel arrays.
 
 Library
-  Build-Depends: 
-        base                 == 4.8.*,
-        template-haskell     == 2.10.*,
-        vector               == 0.11.*,
-        ghc-prim             == 0.4.*,
-        bytestring           == 0.10.*,
-        QuickCheck           == 2.8.*
+  Build-Depends:
+        base                 >= 4.8 && < 4.10
+      , template-haskell
+      , ghc-prim
+      , vector               == 0.11.*
+      , bytestring           == 0.10.*
+      , QuickCheck           == 2.8.*
 
   ghc-options:
         -Wall -fno-warn-missing-signatures
         -Odph
         -funbox-strict-fields
-        -fcpr-off
+
+  if impl(ghc >= 8.0)
+    ghc-options: -fno-cpr-anal
+  else
+    ghc-options: -fcpr-off
 
   extensions:
         NoMonomorphismRestriction
