From: simonmar Date: Fri, 4 Feb 2005 11:58:23 +0000 (+0000) Subject: [project @ 2005-02-04 11:58:23 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1114 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=fdfdac786a147e5a653109ae9ad5e34d3406d105 [project @ 2005-02-04 11:58:23 by simonmar] Need to add -I. when compiling with GHC 6.3+ --- diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile index fcb274d..664ad3c 100644 --- a/ghc/lib/compat/Makefile +++ b/ghc/lib/compat/Makefile @@ -15,6 +15,9 @@ LIBRARY = libghccompat.a # Just to silence warnings MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) +# Needed so that the libraries can #include relative to this directory. +SRC_HC_OPTS += -I. + UseGhcForCc = YES # This library is linked to the compiler, at least in stage1, so we