From e8d07af14d22cc4be86960fe5cbdc7630a495836 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 16 Jun 2005 09:40:27 +0000 Subject: [PATCH] [project @ 2005-06-16 09:40:27 by simonmar] Use -optdep--exclude-module to fix building HEAD with itself. --- ghc/lib/compat/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile index b34c900..5083e49 100644 --- a/ghc/lib/compat/Makefile +++ b/ghc/lib/compat/Makefile @@ -52,6 +52,18 @@ EXCLUDED_SRCS += \ Distribution/ParseUtils.hs \ Distribution/Compiler.hs \ Distribution/Version.hs + +SRC_MKDEPENDHS_OPTS += \ + -optdep--exclude-module=System.Directory.Internals \ + -optdep--exclude-module=Distribution.Compat.ReadP \ + -optdep--exclude-module=Distribution.Extension \ + -optdep--exclude-module=Distribution.GetOpt \ + -optdep--exclude-module=Distribution.InstalledPackageInfo \ + -optdep--exclude-module=Distribution.License \ + -optdep--exclude-module=Distribution.Package \ + -optdep--exclude-module=Distribution.ParseUtils \ + -optdep--exclude-module=Distribution.Compiler \ + -optdep--exclude-module=Distribution.Version endif # Some explicit dependencies -- 1.7.10.4