From: rrt Date: Mon, 16 Jul 2001 11:09:37 +0000 (+0000) Subject: [project @ 2001-07-16 11:09:37 by rrt] X-Git-Tag: Approximately_9120_patches~1540 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0e713bc9388694833f3edfac0db2965259c7aec5;p=ghc-hetmet.git [project @ 2001-07-16 11:09:37 by rrt] Don't add -I flag for Windows gcc's include files here; do it in package.conf instead. --- diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index a77fc73..35f0ea2 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -242,8 +242,7 @@ initSysTools minusB_args -- pick up whatever happens to be lying around in the path, -- possibly including those from a cygwin install on the target, -- which is exactly what we're trying to avoid. - ; let gcc_path | am_installed = installed_bin ("gcc -B" ++ installed "gcc-lib/" - ++ " -I" ++ installed "include/mingw") + ; let gcc_path | am_installed = installed_bin ("gcc -B" ++ installed "gcc-lib/") | otherwise = cGCC perl_path | am_installed = installed_bin cGHC_PERL | otherwise = cGHC_PERL