From 980b5c2e1259c6059639cb7defe672a0b77d3b0b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 20 Feb 2008 20:58:44 +0000 Subject: [PATCH] Add a comment --- compiler/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/Makefile b/compiler/Makefile index cdc8b3c..c7d4169 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -881,6 +881,8 @@ LIB_LD_OPTS += $(foreach pkg,$(PKG_DEPENDS),-package $(pkg)) # We have to expand each package dependency with its version, which we # can do by calling "ghc-pkg list $pkg --simple-output". PACKAGE_CPP_OPTS += -DPKG_DEPENDS='$(foreach pkg,$(PKG_DEPENDS),$(shell $(GHC_PKG_INPLACE) latest --global $(pkg)))' +# We want to define STAGE to be like "2" in the Haskell code, so we need +# to quote the "s so that they don't get interpreted by the shell. PACKAGE_CPP_OPTS += -DSTAGE='"$(stage)"' # Omit Main from the library, the client will want to plug their own Main in -- 1.7.10.4