projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend API for compiling to and from Core
[ghc-hetmet.git]
/
rts
/
Makefile
diff --git
a/rts/Makefile
b/rts/Makefile
index
e3bc692
..
3cde19d
100644
(file)
--- a/
rts/Makefile
+++ b/
rts/Makefile
@@
-25,6
+25,14
@@
PACKAGE = rts
HC=$(GHC_INPLACE)
HC=$(GHC_INPLACE)
+
+# Setting _way here is a nasty hack to make sure we get libHSrts*.a etc
+# rather than just libHSrts.a when we are making and installing
+# bindists.
+ifeq "$(DOING_BIN_DIST)" "YES"
+_way = *
+endif
+
# -----------------------------------------------------------------------------
# RTS ways
# -----------------------------------------------------------------------------
# RTS ways
@@
-133,7
+141,7
@@
SRC_CC_OPTS += $(WARNING_OPTS)
SRC_CC_OPTS += $(STANDARD_OPTS)
SRC_CC_OPTS += $(GhcRtsCcOpts)
SRC_CC_OPTS += $(STANDARD_OPTS)
SRC_CC_OPTS += $(GhcRtsCcOpts)
-SRC_HC_OPTS += $(GhcRtsHcOpts) -package-name rts
+SRC_HC_OPTS += $(GhcRtsHcOpts) $(STANDARD_OPTS) -package-name rts
ifneq "$(GhcWithSMP)" "YES"
SRC_CC_OPTS += -DNOSMP
ifneq "$(GhcWithSMP)" "YES"
SRC_CC_OPTS += -DNOSMP