From: simonm Date: Thu, 2 Jul 1998 08:44:24 +0000 (+0000) Subject: [project @ 1998-07-02 08:44:24 by simonm] X-Git-Tag: Approx_2487_patches~539 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=84a9c9c78c90f6c4f4c605019d60c9cbea3c816b;p=ghc-hetmet.git [project @ 1998-07-02 08:44:24 by simonm] Workaround bug in alpha NCG by compiling Unique with -fvia-C. --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 73be2de..82bbae2 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.42 1998/06/04 11:36:51 sof Exp $ +# $Id: Makefile,v 1.43 1998/07/02 08:44:24 simonm Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -167,8 +167,8 @@ rename/ParseIface_HAPPY_OPTS += -g ifeq "$(TARGETPLATFORM)" "hppa1.1-hp-hpux9" rename/RnMonad_HC_OPTS = -fvia-C -O2 -O2-for-C -else endif + rename/RnEnv_HC_OPTS = -fvia-C rename/RnSource_HC_OPTS = -H12m rename/RnIfaces_HC_OPTS = -H8m -fvia-C @@ -192,6 +192,11 @@ utils/StringBuffer_HC_OPTS = -fvia-C -fno-prune-tydecls utils/Digraph_HC_OPTS = -fglasgow-exts -fvia-C utils/DirUtils_HC_OPTS = -fvia-C +ifeq "$(alpha_HOST_ARCH)" "1" +# "stbu" bug in alpha native code generator... +basicTypes/Unique_HC_OPTS = -fvia-C +endif + # flags for PrimPacked: # # -monly-3-regs