From 28dd45d2429a87c64d472fd2a35c146600ea3ee5 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 4 Aug 2008 15:34:30 +0000 Subject: [PATCH] Don't make a "windows" flag in the Cabal file - os(windows) already exists! Pointed out by Duncan Coutts --- compiler/ghc.cabal | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compiler/ghc.cabal b/compiler/ghc.cabal index 9d589f4..0fa37ba 100644 --- a/compiler/ghc.cabal +++ b/compiler/ghc.cabal @@ -29,9 +29,6 @@ Flag ghci Flag stage1 Description: Is this stage 1? -Flag windows - Description: On a Windows machine - Library Exposed: False @@ -47,7 +44,7 @@ Library Build-Depends: base < 3 Build-Depends: filepath >= 1 && < 1.2 Build-Depends: haskell98, Cabal, hpc - if flag(windows) + if os(windows) Build-Depends: Win32 else Build-Depends: unix -- 1.7.10.4