From: simonmar Date: Thu, 11 Nov 2004 13:08:59 +0000 (+0000) Subject: [project @ 2004-11-11 13:08:59 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1448 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=938c479a6e7dad62079b68dfe846a967bee30746 [project @ 2004-11-11 13:08:59 by simonmar] Compile fixes --- diff --git a/ghc/utils/runghc/Makefile b/ghc/utils/runghc/Makefile index dd643db..d6fc169 100644 --- a/ghc/utils/runghc/Makefile +++ b/ghc/utils/runghc/Makefile @@ -7,4 +7,7 @@ INSTALL_PROGS += $(HS_PROG) UseGhcForCc = YES SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) +SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR) +SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat + include $(TOP)/mk/target.mk diff --git a/ghc/utils/runghc/rawSystem.c b/ghc/utils/runghc/rawSystem.c deleted file mode 100644 index f35ace3..0000000 --- a/ghc/utils/runghc/rawSystem.c +++ /dev/null @@ -1,6 +0,0 @@ -/* Grab rawSystem from the library sources iff we're bootstrapping with an - * old version of GHC. - */ -#if __GLASGOW_HASKELL__ < 601 -#include "../../../libraries/base/cbits/rawSystem.c" -#endif