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
--- 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 )