summaryrefslogtreecommitdiff
path: root/ghc/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-07-28 13:46:47 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-07-28 13:46:47 +0000
commit4ddcff11bae7e4c66c3c895b277eb8b2230aea67 (patch)
tree42a4ad1294740750baf8abaa83a1bd3b018eb4a8 /ghc/Makefile
parentca26fe60260f3e52e82ec27c18a8aa5169cdcc89 (diff)
downloadhaskell-4ddcff11bae7e4c66c3c895b277eb8b2230aea67.tar.gz
don't strip the inplace GHC executables (for debugging)
Diffstat (limited to 'ghc/Makefile')
-rw-r--r--ghc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/Makefile b/ghc/Makefile
index b1a14d38d6..282ffe7066 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -13,6 +13,9 @@ else
INSTALL_FLAGS = --enable-shell-wrappers
endif
+# Don't strip the inplace versions, we might need to debug them
+INPLACE_INSTALL_FLAGS += --disable-executable-stripping
+
boot:: boot.stage.$(stage)
all:: build.stage.$(stage)
@@ -102,6 +105,7 @@ build.stage.%:
'$$prefix/html' \
'$$prefix/haddock' \
--distpref dist-stage$* \
+ $(INPLACE_INSTALL_FLAGS) \
$(INSTALL_FLAGS)
# XXX For now we always install the stage 2 compiler