Require PatternSignatures for bootstrapping compiler.
authorThomas Schilling <nominolo@googlemail.com>
Sun, 14 Sep 2008 23:26:42 +0000 (23:26 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Sun, 14 Sep 2008 23:26:42 +0000 (23:26 +0000)
compiler/ghc.cabal

index 3ee1401..ce02408 100644 (file)
@@ -95,6 +95,8 @@ Library
 
     if flag(stage1)
         Include-Dirs: stage1
+       if impl(ghc < 6.9)
+           Extensions: PatternSignatures
     else
         Include-Dirs: stage2plus
     Install-Includes: HsVersions.h, ghc_boot_platform.h