projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "Support SMP" and "RTS ways" to the compiler --info output
[ghc-hetmet.git]
/
utils
/
hpc
/
Makefile
diff --git
a/utils/hpc/Makefile
b/utils/hpc/Makefile
index
12ad17e
..
17065fa
100644
(file)
--- a/
utils/hpc/Makefile
+++ b/
utils/hpc/Makefile
@@
-6,7
+6,11
@@
INSTALL_PROGS += $(HS_PROG)
HPC_LIB = $(TOP)/libraries/hpc
include $(GHC_COMPAT_DIR)/compat.mk
HPC_LIB = $(TOP)/libraries/hpc
include $(GHC_COMPAT_DIR)/compat.mk
-SRC_HC_OPTS += $(PACKAGE_HPC)
+SRC_HC_OPTS += $(PACKAGE_HPC) -cpp
+
+ifeq "$(ghc_ge_607)" "YES"
+SRC_HC_OPTS += -package containers
+endif
binary-dist:
$(INSTALL_DIR) $(BIN_DIST_DIR)/utils/hpc
binary-dist:
$(INSTALL_DIR) $(BIN_DIST_DIR)/utils/hpc