summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 3ebeadd..e3cb6f4 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -484,6 +484,7 @@ SPECIAL_INSTALLCHECKS=
# Require DESTDIR to be set if installing for a different architecture.
#
.if ${TARGET_ARCH} != ${MACHINE_ARCH} || ${TARGET} != ${MACHINE}
+.if !make(distributeworld)
SPECIAL_INSTALLCHECKS+= installcheck_DESTDIR
installcheck_DESTDIR:
.if !defined(DESTDIR) || empty(DESTDIR)
@@ -491,6 +492,7 @@ installcheck_DESTDIR:
false
.endif
.endif
+.endif
#
# installcheck
OpenPOWER on IntegriCloud