diff --git a/cabal.project.travis b/cabal.project.travis
index 300a364f38bc7b5cb2236670b7d4c46e0bad27fd..09838aeecc7de37b4c6d763410923726bda71ef8 100644
--- a/cabal.project.travis
+++ b/cabal.project.travis
@@ -3,11 +3,4 @@
 -- Turn off parallelization to get good errors.
 jobs: 1
 
--- The -fno-warn-orphans is a hack to make Cabal-1.24
--- build properly (unfortunately the flags here get applied
--- to the dependencies too!)
-package Cabal
-  ghc-options: -Werror -fno-warn-orphans
-
-package cabal-install
-  ghc-options: -Werror
+ghc-options: -Werror