# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.141 2001/03/06 15:59:11 simonmar Exp $
+# $Id: Makefile,v 1.144 2001/03/16 14:36:19 sewardj Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
# Use GHC for compiling C bits
#
CC = $(HC)
+CC_OPTS := $(addprefix -optc, $(CC_OPTS))
# magic from GNU make manual to convert a list of values
# into a colon-separated list
# not sure if this is required --SDM
main/Main_HC_OPTS = -fvia-C
-prelude/PrimOp_HC_OPTS = -no-recomp
+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
# into the interface file and spreading the -monly-3-regs virus.
# We need -optC here because the driver before 3.02 didn't understand
# the -funfolding flags.
-
-utils/PrimPacked_HC_OPTS = -fvia-C -monly-3-regs -funfolding-interface-threshold7
+utils/PrimPacked_HC_OPTS = -fvia-C -monly-3-regs
# ByteCodeItbls uses primops that the NCG doesn't support yet.
ghci/ByteCodeItbls_HC_OPTS = -fvia-C