changeset 52572:2ed42e41e712

8213736: Build fails with LOG=debug on F28 after JDK-8210958 Summary: Add --no-print-directory to make invocation of create-main-targets-include Reviewed-by: erikj, tbell
author sgehwolf
date Wed, 14 Nov 2018 09:34:46 +0100
parents c02aa8873ff2
children 6e8c1206cca1
files make/InitSupport.gmk
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/InitSupport.gmk	Tue Oct 02 13:48:08 2018 +0200
+++ b/make/InitSupport.gmk	Wed Nov 14 09:34:46 2018 +0100
@@ -264,9 +264,13 @@
       endif
     endif
 
+    # The --no-print-directory is needed to make the call from
+    # FindTest.gmk to Test.gmk work with LOG=debug/trace. See
+    # JDK-8213736
     $$(main_targets_file):
 	@( cd $$(topdir) && \
-	$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R -f $$(topdir)/make/Main.gmk \
+	$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R --no-print-directory \
+	    -f $$(topdir)/make/Main.gmk \
 	    -I $$(topdir)/make/common SPEC=$(strip $2) NO_RECIPES=true \
 	    $$(MAKE_LOG_VARS) \
 	    create-main-targets-include )