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:
parent
60be12c32c
commit
d8909271a2
|
@ -669,7 +669,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname, bool injecting)
|
||||||
{
|
{
|
||||||
if (mkdeps *deps = cpp_get_deps (pfile))
|
if (mkdeps *deps = cpp_get_deps (pfile))
|
||||||
/* Set the default target (if there is none already). */
|
/* 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
|
pfile->main_file
|
||||||
= _cpp_find_file (pfile, fname, &pfile->no_search_path, /*angle=*/0,
|
= _cpp_find_file (pfile, fname, &pfile->no_search_path, /*angle=*/0,
|
||||||
|
|
Loading…
Reference in New Issue