From 938c479a6e7dad62079b68dfe846a967bee30746 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 11 Nov 2004 13:08:59 +0000 Subject: [PATCH] [project @ 2004-11-11 13:08:59 by simonmar] Compile fixes --- ghc/utils/runghc/Makefile | 3 +++ ghc/utils/runghc/rawSystem.c | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 ghc/utils/runghc/rawSystem.c 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 -- 1.7.10.4