Commit 1e39c29a authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

Kill vestiages of DEFAULT_TMPDIR

It was removed long ago in cf403b50.
Thanks for @rwbarton for catching this.

Updates nofib submodule.

Test Plan: Validate

Reviewers: austin, rwbarton

Subscribers: thomie, rwbarton

Differential Revision: https://phabricator.haskell.org/D2493

GHC Trac Issues: #12443
parent a48de37d
......@@ -405,10 +405,6 @@ Redirecting temporary files
name of the directory where temporary files should be put. GCC and other
programs will honour the :envvar:`TMPDIR` variable as well.
Even better idea: Set the :envvar:`DEFAULT_TMPDIR` :command:`make` variable when
building GHC, and never worry about :envvar:`TMPDIR` again. (see the build
documentation).
.. _hi-options:
Other options related to interface files
......
......@@ -396,21 +396,6 @@ GhcRtsWithLibdw=$(strip $(if $(filter $(TargetArch_CPP),i386 x86_64),@UseLibdw@,
#
################################################################################
# Directory used by GHC (and possibly other tools) for storing
# temporary files. If your TMPDIR isn't big enough, either override
# this in build.mk or set your environment variable "TMPDIR" to point
# to somewhere with more space. (TMPDIR=. is a good choice).
# DEFAULT_TMPDIR isn't called TMPDIR because GNU make tends to
# override an environment variable with the value of the make variable
# of the same name (if it exists) when executing sub-processes, so
# setting the TMPDIR env var would have no effect in the build tree.
DEFAULT_TMPDIR = /tmp
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
DEFAULT_TMPDIR = /C/TEMP
endif
BIN_DIST_NAME = ghc-$(ProjectVersion)
BIN_DIST_PREP_DIR = bindistprep/$(BIN_DIST_NAME)
BIN_DIST_PREP_TAR = bindistprep/$(BIN_DIST_NAME)-$(TARGETPLATFORM).tar
......
Subproject commit 6dc2b467c71cf7c7e8f99ba4e60ca4b32a90236a
Subproject commit bed591d4aa45c7b92a40985c72bc6b3daaa68f0d
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment