From: simonmar Date: Mon, 18 Nov 2002 10:03:24 +0000 (+0000) Subject: [project @ 2002-11-18 10:03:24 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1446 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d062db6e01b90d2fdebe39865db930096de3c70b;p=ghc-hetmet.git [project @ 2002-11-18 10:03:24 by simonmar] Use -fvia-C when compiling with 4.08.x --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 766ded7..bc2191e 100644 --- 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