[project @ 2000-03-22 12:01:57 by rrt]
authorrrt <unknown>
Wed, 22 Mar 2000 12:01:57 +0000 (12:01 +0000)
committerrrt <unknown>
Wed, 22 Mar 2000 12:01:57 +0000 (12:01 +0000)
Stopped PrelMain.dll_o being built with -split-objs (filter this out from
argument list)

ghc/lib/std/Makefile

index 37f7134..44c04ed 100644 (file)
@@ -117,7 +117,7 @@ ifeq "$(way)" "dll"
 PrelMain.dll_o : PrelMain.lhs
        $(RM) ../PrelMain.lhs
        $(CP) PrelMain.lhs ../
-       $(MAKE) -C .. PrelMain.dll_o way=dll HC=std/$(GHC_INPLACE) HC_OPTS="$(filter-out -fcompiling-prelude, $(patsubst -odir,,$(HC_OPTS)))"
+       $(MAKE) -C .. PrelMain.dll_o way=dll HC=std/$(GHC_INPLACE) HC_OPTS="$(filter-out -fcompiling-prelude -split-objs, $(patsubst -odir,,$(HC_OPTS)))"
        $(MV) ../PrelMain.dll_o .
        $(RM) ../PrelMain.lhs ../PrelMain.dll_hi
 endif