projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix building GHC with profiling
[ghc-hetmet.git]
/
compat
/
compat.mk
diff --git
a/compat/compat.mk
b/compat/compat.mk
index
66b8299
..
4162a6d
100644
(file)
--- a/
compat/compat.mk
+++ b/
compat/compat.mk
@@
-24,6
+24,10
@@
SRC_HC_OPTS += -package directory
SRC_HC_OPTS += -package pretty
endif
+ifeq "$(ghc_ge_603)" "NO"
+SRC_HC_OPTS += -package unix
+endif
+
# And similarly for when booting from .hc files:
HC_BOOT_LD_OPTS += -L$(GHC_COMPAT_DIR)
HC_BOOT_LIBS += -lghccompat