projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60be12c
)
libcpp: unbreak bootstrap
author
Nathan Sidwell
<nathan@acm.org>
Tue, 3 Nov 2020 14:02:06 +0000
(06:02 -0800)
committer
Nathan Sidwell
<nathan@acm.org>
Tue, 3 Nov 2020 14:03:11 +0000
(06:03 -0800)
This fixes the bootstrap breakage I caused. Sorry about that.
libcpp/
* init.c (cpp_read_main_file): Use cpp_get_deps result.
libcpp/init.c
patch
|
blob
|
history
diff --git
a/libcpp/init.c
b/libcpp/init.c
index 5b2607e3767ee2dad7ae4c073055ceba0fba68e7..6c52f50de398b0990abcb695ac474d7b91b01a29 100644
(file)
--- a/
libcpp/init.c
+++ b/
libcpp/init.c
@@
-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,