summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/compare/Makefile2
-rw-r--r--distrib/compare/compare.hs2
2 files changed, 1 insertions, 3 deletions
diff --git a/distrib/compare/Makefile b/distrib/compare/Makefile
index f65c0419eb..49645783e2 100644
--- a/distrib/compare/Makefile
+++ b/distrib/compare/Makefile
@@ -2,7 +2,7 @@
GHC = ghc
compare: *.hs
- "$(GHC)" -O --make -Wall -Werror $@
+ "$(GHC)" -O -XHaskell2010 --make -Wall -Werror $@
.PHONY: clean
clean:
diff --git a/distrib/compare/compare.hs b/distrib/compare/compare.hs
index 81055c2826..8653e3f6aa 100644
--- a/distrib/compare/compare.hs
+++ b/distrib/compare/compare.hs
@@ -1,5 +1,3 @@
-{-# LANGUAGE PatternGuards #-}
-
module Main (main) where
import Control.Monad.State