projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e63e7e
)
[project @ 2002-11-18 10:03:24 by simonmar]
author
simonmar
<unknown>
Mon, 18 Nov 2002 10:03:24 +0000
(10:03 +0000)
committer
simonmar
<unknown>
Mon, 18 Nov 2002 10:03:24 +0000
(10:03 +0000)
Use -fvia-C when compiling with 4.08.x
ghc/compiler/Makefile
patch
|
blob
|
history
diff --git
a/ghc/compiler/Makefile
b/ghc/compiler/Makefile
index
766ded7
..
bc2191e
100644
(file)
--- a/
ghc/compiler/Makefile
+++ b/
ghc/compiler/Makefile
@@
-355,6
+355,11
@@
ifeq "$(bootstrapped)" "YES"
utils/Binary_HC_OPTS = -funbox-strict-fields
endif
+# 4.08.2's NCG can't cope with Binary
+ifeq "$(compiling_with_4xx)" "YES"
+utils/Binary_HC_OPTS += -fvia-C
+endif
+
# ByteCodeItbls uses primops that the NCG doesn't support yet.
ghci/ByteCodeItbls_HC_OPTS = -fvia-C
ghci/ByteCodeLink_HC_OPTS = -fvia-C -monly-3-regs