From: simonpj Date: Mon, 31 Jan 2005 14:57:36 +0000 (+0000) Subject: [project @ 2005-01-31 14:57:36 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~1143 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=34fa81c4d8054fec0c00f60f7ea11ac4a869285e;p=ghc-hetmet.git [project @ 2005-01-31 14:57:36 by simonpj] Compile utilities and lib/compat with GhcHcOpts, in case it is profiled --- diff --git a/ghc/utils/runghc/Makefile b/ghc/utils/runghc/Makefile index d6fc169..2a1de5c 100644 --- a/ghc/utils/runghc/Makefile +++ b/ghc/utils/runghc/Makefile @@ -10,4 +10,9 @@ SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR) SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat +# This is required because libghccompat.a must be built with +# $(GhcHcOpts) because it is linked to the compiler, and hence +# we must also build with $(GhcHcOpts) here: +SRC_HC_OPTS += $(GhcHcOpts) + include $(TOP)/mk/target.mk