From 3a60f713e57c22c7357bec66bfcee6e8ddffee9a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 15 Dec 2009 12:37:57 +0000 Subject: [PATCH] Don't make C deps for compiler/parser/cutils.c in stage1 CPP finds the Rts.h, RtsFlags.h etc from the tree, rather than the bootstrapping compiler, and then fails because it doesn't think RtsFlags.h should be used any more. --- compiler/ghc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/ghc.mk b/compiler/ghc.mk index b6592f2..c237df7 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -35,6 +35,8 @@ compiler_stage1_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES compiler_stage2_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES compiler_stage3_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES +compiler_stage1_C_FILES_NODEPS = compiler/parser/cutils.c + ifneq "$(BINDIST)" "YES" compiler/stage1/package-data.mk : $(compiler_CONFIG_HS) compiler/stage2/package-data.mk : $(compiler_CONFIG_HS) -- 1.7.10.4