diff --git a/hprotoc.cabal b/hprotoc.cabal
--- a/hprotoc.cabal
+++ b/hprotoc.cabal
@@ -1,5 +1,5 @@
 name:           hprotoc
-version:        2.3.1
+version:        2.4.0
 cabal-version:  >= 1.6
 build-type:     Simple
 license:        BSD3
@@ -20,14 +20,13 @@
   location: git://github.com/k-bx/protocol-buffers.git
 
 Executable hprotoc
-  build-depends:   protocol-buffers == 2.3.1,
-                   protocol-buffers-descriptor == 2.3.1
+  build-depends:   protocol-buffers == 2.4.0,
+                   protocol-buffers-descriptor == 2.4.0
   Main-Is:         Text/ProtocolBuffers/ProtoCompile.hs
   Hs-Source-Dirs:  .,
                    protoc-gen-haskell
   build-tools:     alex
-  ghc-options:     -O2 -Wall -fspec-constr-count=10
-  ghc-prof-options: -O2 -auto-all -prof
+  ghc-options:     -Wall -fspec-constr-count=10
   build-depends:   base >= 4.7.0 && < 5,
                    array,
                    binary,
@@ -69,13 +68,12 @@
                    TypeSynonymInstances
 
 Library
-  build-depends:   protocol-buffers == 2.3.1,
-                   protocol-buffers-descriptor == 2.3.1
+  build-depends:   protocol-buffers == 2.4.0,
+                   protocol-buffers-descriptor == 2.4.0
   Hs-Source-Dirs:  .,
                    protoc-gen-haskell
   build-tools:     alex
-  ghc-options:     -O2 -Wall -fspec-constr-count=10
-  ghc-prof-options: -O2 -auto-all -prof
+  ghc-options:     -Wall -fspec-constr-count=10
   build-depends:   base >= 4.7.0 && < 5,
                    array,
                    binary,
