summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-02-09 11:06:27 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-09 11:06:31 +0100
commitbfec4a6aade005b6dbd170645d4f2d062cee1d92 (patch)
tree3063b3d0476b6a9d4f15caeefecf55d2fbdb2165 /Makefile
parent04fb7813ab489b1d70a73351836950825b2ce4f7 (diff)
downloadhaskell-bfec4a6aade005b6dbd170645d4f2d062cee1d92.tar.gz
Unset GREP_OPTIONS in build system
Test Plan: GREP_OPTIONS=--blah ./validate Reviewers: austin, thomie Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1887 GHC Trac Issues: #11530
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6be584f536..82ab2f78f6 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,13 @@
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
+
+# -----------------------------------------------------------------------------
+# Sanitize environment
+
+# See Trac #11530
+export GREP_OPTIONS :=
+
ifneq "$(filter maintainer-clean distclean clean clean_% help,$(MAKECMDGOALS))" ""
-include mk/config.mk
else