- Don't add -DCOMPILING_RTS twice
- *set* SRC_CC_OPTS rather than appending to it: we're using ghc as
the C compiler, so normal gcc flags probably won't work. eg. if
you put SRC_CC_OPTS += -g in your build.mk, it'll fall over here.
#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.7 1999/03/03 19:26:31 sof Exp $
+# $Id: Makefile,v 1.8 1999/04/27 09:37:04 simonm Exp $
# This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell).
#WARNING_OPTS += -optc-Wconversion
SRC_HC_OPTS += -I../includes -I. -Igum $(WARNING_OPTS) $(GhcRtsHcOpts) -optc-DCOMPILING_RTS
-SRC_CC_OPTS += $(GhcRtsCcOpts) -optc-DCOMPILING_RTS
+SRC_CC_OPTS = $(GhcRtsCcOpts)
DLLWRAP = dllwrap