summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-02 02:04:09 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-02 02:04:09 +0000
commite6128759d42969f8e4133f8345c11038edddf292 (patch)
treea1f1c7c885d6e9ce9cf2f077638f9d2e4ea02c8b /mk
parent535964b1923f9f8df52adaef014441bc454ebf9b (diff)
downloadhaskell-e6128759d42969f8e4133f8345c11038edddf292.tar.gz
Remove the unused REAL_SHELL variable in the build system
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in24
1 files changed, 0 insertions, 24 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index fe886240af..4a9ed4f2fa 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -707,30 +707,6 @@ ifeq "$(Windows_Host)" "YES"
XARGS_OPTS = -s 20000
endif
-#
-# In emergency situations, REAL_SHELL is used to perform shell commands
-# from within the ghc driver script, by scribbling the command line to
-# a temp file and then having $(REAL_SHELL) execute it.
-#
-# The reason for having to do this is that overly long command lines
-# cause unnecessary trouble with some shells (e.g., /bin/sh on Solaris
-# 2.5.1), which is why this backdoor is provided. The situation of overly
-# long command lines is either encountered while doing `make boot' in compiler/,
-# or when linking the compiler binary (`hsc').
-#
-# We do not use SHELL to execute long commands, as `make' will more than likely
-# override whatever setting you have in your environment while executing.
-
-# By default, REAL_SHELL is set equal to SHELL, which is not really a smart move
-# as it is SHELL that will show up the bogosity in the first place, but setting
-# it to anything else isn't really portable.
-#
-# ====> If long command lines cause you trouble, invoke `ghc' (via `make' or otherwise)
-# with REAL_SHELL set to something else than /bin/sh, for instance, your favourite
-# command shell.
-#
-REAL_SHELL = $(SHELL)
-
ifeq "$(TARGETPLATFORM)" "x86_64-unknown-mingw32"
STRIP_CMD = $(TOP)/inplace/mingw/bin/strip.exe
else