8213736: Build fails with LOG=debug on F28 after JDK-8210958

Add --no-print-directory to make invocation of create-main-targets-include

Reviewed-by: erikj, tbell
This commit is contained in:
Severin Gehwolf 2018-11-14 09:34:46 +01:00
parent e552242db6
commit 1fa2af5b82

View File

@ -264,9 +264,13 @@ ifeq ($(HAS_SPEC),)
endif endif
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): $$(main_targets_file):
@( cd $$(topdir) && \ @( 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 \ -I $$(topdir)/make/common SPEC=$(strip $2) NO_RECIPES=true \
$$(MAKE_LOG_VARS) \ $$(MAKE_LOG_VARS) \
create-main-targets-include ) create-main-targets-include )