validate: Clean GMP trees
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 5 Apr 2017 01:47:05 +0000 (21:47 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 5 Apr 2017 01:47:23 +0000 (21:47 -0400)
For reasons unknown `validate` passed `NO_CLEAN_GMP=YES` to
`maintainer-clean`, leaving a stale `gmp.h` which causes the build to
fail in the event that the uses a tree for validating for two different
target platforms. This is quite unexpected, don't do it.

Reviewers: hvr, austin, rwbarton, dfeuer

Reviewed By: dfeuer

Subscribers: thomie

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

validate

index 8caa0e2..09f4fd2 100755 (executable)
--- a/validate
+++ b/validate
@@ -176,7 +176,7 @@ if [ $testsuite_only -eq 0 ]; then
 thisdir=`pwd`
 
 if [ $no_clean -eq 0 ]; then
-    $make maintainer-clean NO_CLEAN_GMP=YES
+    $make maintainer-clean
 
     INSTDIR="$thisdir/inst"