[project @ 2002-02-06 11:50:31 by simonmar]
authorsimonmar <unknown>
Wed, 6 Feb 2002 11:50:31 +0000 (11:50 +0000)
committersimonmar <unknown>
Wed, 6 Feb 2002 11:50:31 +0000 (11:50 +0000)
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

index 5b5979a..2a98a0d 100644 (file)
@@ -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)