From fdfdac786a147e5a653109ae9ad5e34d3406d105 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 4 Feb 2005 11:58:23 +0000 Subject: [PATCH] [project @ 2005-02-04 11:58:23 by simonmar] Need to add -I. when compiling with GHC 6.3+ --- ghc/lib/compat/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.10.4