diff --git a/yi-rope.cabal b/yi-rope.cabal
--- a/yi-rope.cabal
+++ b/yi-rope.cabal
@@ -1,5 +1,5 @@
 name:                yi-rope
-version:             0.2.1.11
+version:             0.2.1.12
 synopsis:            A rope data structure used by Yi
 description:         A rope data structure used by Yi
 license:             GPL-3
@@ -11,7 +11,11 @@
 cabal-version:       >=1.10
 
 library
-  ghc-options:      -fpedantic-bottoms -flate-dmd-anal -fexpose-all-unfoldings -Wall -O2
+  if true
+    ghc-options:      -fpedantic-bottoms -fexpose-all-unfoldings -Wall -O2
+  if impl(ghc >= 7.8.1)
+    ghc-options:      -flate-dmd-anal
+
   exposed-modules:
     Yi.Rope
 
