From 666d7f6b472970e63469aa92caaa82962736aa50 Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 9 Nov 2001 17:02:09 +0000 Subject: [PATCH] [project @ 2001-11-09 17:02:09 by sof] Use -fvia-C when compiling rename/ParseIface.hs and parser/Parser.hs - Int16 primops aren't supported by the NCG on all plats. --- ghc/compiler/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index a27f979..0e29e82 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.198 2001/11/08 18:53:44 sof Exp $ +# $Id: Makefile,v 1.199 2001/11/09 17:02:09 sof Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -260,9 +260,11 @@ prelude/PrimOp_HC_OPTS = -no-recomp -H80m # because the NCG can't handle the 64-bit math in here prelude/PrelRules_HC_OPTS = -fvia-C -rename/ParseIface_HC_OPTS += -Onot -H45m -fno-warn-incomplete-patterns -parser/Parser_HC_OPTS += -Onot -fno-warn-incomplete-patterns main/ParsePkgConf_HC_OPTS += -fno-warn-incomplete-patterns +# Use -fvia-C since the NCG can't handle the narrow16Int# (and intToInt16#?) +# primops on all platforms. +rename/ParseIface_HC_OPTS += -Onot -H45m -fno-warn-incomplete-patterns -fvia-C +parser/Parser_HC_OPTS += -Onot -fno-warn-incomplete-patterns -fvia-C # The latest GHC version doesn't have a -K option yet, and it doesn't # seem to be necessary anymore for the modules below. -- 1.7.10.4