Commit 8fa55882 authored by sewardj's avatar sewardj
Browse files

[project @ 2001-06-11 16:49:23 by sewardj]

Ensure the boilerplate rule still applies for building HSstd_cbits.o.
parent 14ce3bb4
...@@ -488,11 +488,14 @@ CLEAN_FILES += $(GHCI_LIBRARY) ...@@ -488,11 +488,14 @@ CLEAN_FILES += $(GHCI_LIBRARY)
all :: $(GHCI_LIBRARY) all :: $(GHCI_LIBRARY)
ifneq "$(HSLIB)" "std" ifneq "$(GHCI_LIBRARY)" "HSstd.o"
# An annoying gotcha is that the Prelude is a bit special, # An annoying gotcha is that the Prelude is a bit special,
# for reasons described in ghc/lib/std/Makefile. # for reasons described in ghc/lib/std/Makefile.
# So we only put in this standard rule for packages other than std # So we only put in this standard rule for packages other than std
# The rule for the Prelude is in ghc/lib/std/Makefile # The rule for the Prelude is in ghc/lib/std/Makefile
# We check for GHCI_LIBRARY being HSstd.o rather than
# HSLIB being std, because we want to still use the boilerplate rule
# for cbits.
$(GHCI_LIBRARY) :: $(LIBOBJS) $(GHCI_LIBRARY) :: $(LIBOBJS)
ld -r -x -o $@ $(LIBOBJS) $(STUBOBJS) ld -r -x -o $@ $(LIBOBJS) $(STUBOBJS)
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment