From 0e713bc9388694833f3edfac0db2965259c7aec5 Mon Sep 17 00:00:00 2001 From: rrt Date: Mon, 16 Jul 2001 11:09:37 +0000 Subject: [PATCH] [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. --- ghc/compiler/main/SysTools.lhs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 1.7.10.4