From 34fa81c4d8054fec0c00f60f7ea11ac4a869285e Mon Sep 17 00:00:00 2001 From: simonpj Date: Mon, 31 Jan 2005 14:57:36 +0000 Subject: [PATCH] [project @ 2005-01-31 14:57:36 by simonpj] Compile utilities and lib/compat with GhcHcOpts, in case it is profiled --- ghc/utils/runghc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4