From 6ed225552398f9f39bff582da1d635828884bf76 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 6 Feb 2002 11:50:31 +0000 Subject: [PATCH] [project @ 2002-02-06 11:50:31 by simonmar] Back off: don't use UseGhcForCc as a magic way to get the right include paths, because we still need to tell mkdependC about them. --- cbits/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cbits/Makefile b/cbits/Makefile index 5b5979a..2a98a0d 100644 --- a/cbits/Makefile +++ b/cbits/Makefile @@ -1,6 +1,4 @@ -# $Id: Makefile,v 1.4 2002/02/06 10:40:26 simonmar Exp $ - -UseGhcForCc = YES +# $Id: Makefile,v 1.5 2002/02/06 11:50:31 simonmar Exp $ TOP = ../.. include $(TOP)/mk/boilerplate.mk @@ -9,7 +7,8 @@ HC = $(GHC_INPLACE) EXCLUDED_SRCS += ilxstubs.c -SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB -I$(GHC_RUNTIME_DIR) +SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB +SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) -I../include LIBRARY = libHSbase_cbits.a LIBOBJS = $(C_OBJS) -- 1.7.10.4