From: rrt Date: Fri, 17 Aug 2001 08:35:24 +0000 (+0000) Subject: [project @ 2001-08-17 08:35:24 by rrt] X-Git-Tag: Approximately_9120_patches~1204 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=88f818487502f58f0564eddeb787a8230eeb22d9;p=ghc-hetmet.git [project @ 2001-08-17 08:35:24 by rrt] Make sure std is compiled with -fvia-C (NCG can't cope) --- diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index 27037d1..bda14ea 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -38,7 +38,8 @@ BOOT_SRCS += PrelPrimopWrappers.hs #----------------------------------------------------------------------------- # Setting the GHC compile options -SRC_HC_OPTS += -cpp -fglasgow-exts $(GhcLibHcOpts) +# -fvia-C added because NCG still can't cope with some primops used in the standard library +SRC_HC_OPTS += -fvia-C -cpp -fglasgow-exts $(GhcLibHcOpts) SRC_HSC2HS_OPTS += -Icbits ifdef USE_REPORT_PRELUDE