libcpp: unbreak bootstrap

This fixes the bootstrap breakage I caused.  Sorry about that.

	libcpp/
	* init.c (cpp_read_main_file): Use cpp_get_deps result.
This commit is contained in:
Nathan Sidwell 2020-11-03 06:02:06 -08:00
parent 60be12c32c
commit d8909271a2
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname, bool injecting)
{
if (mkdeps *deps = cpp_get_deps (pfile))
/* Set the default target (if there is none already). */
deps_add_default_target (pfile->deps, fname);
deps_add_default_target (deps, fname);
pfile->main_file
= _cpp_find_file (pfile, fname, &pfile->no_search_path, /*angle=*/0,