[project @ 2001-07-16 11:09:37 by rrt]
authorrrt <unknown>
Mon, 16 Jul 2001 11:09:37 +0000 (11:09 +0000)
committerrrt <unknown>
Mon, 16 Jul 2001 11:09:37 +0000 (11:09 +0000)
Don't add -I flag for Windows gcc's include files here; do it in
package.conf instead.

ghc/compiler/main/SysTools.lhs

index a77fc73..35f0ea2 100644 (file)
@@ -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