8213736: Build fails with LOG=debug on F28 after JDK-8210958
authorsgehwolf
Wed, 14 Nov 2018 09:34:46 +0100
changeset 52572 2ed42e41e712
parent 52571 c02aa8873ff2
child 52573 6e8c1206cca1
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
make/InitSupport.gmk
--- 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 )