diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index 37f713404754d33646abf01b036844a52a824207..44c04edecd11d5c20461ec1c49aae67b7e470251 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -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