From d062db6e01b90d2fdebe39865db930096de3c70b Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 18 Nov 2002 10:03:24 +0000 Subject: [PATCH] [project @ 2002-11-18 10:03:24 by simonmar] Use -fvia-C when compiling with 4.08.x --- ghc/compiler/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4