[project @ 2004-11-11 13:08:59 by simonmar]
authorsimonmar <unknown>
Thu, 11 Nov 2004 13:08:59 +0000 (13:08 +0000)
committersimonmar <unknown>
Thu, 11 Nov 2004 13:08:59 +0000 (13:08 +0000)
Compile fixes

ghc/utils/runghc/Makefile
ghc/utils/runghc/rawSystem.c [deleted file]

index dd643db..d6fc169 100644 (file)
@@ -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 (file)
index f35ace3..0000000
+++ /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