OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* cppfiles.c (_cpp_read_file): Add to dependencies if requested.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
tradcpp.c
diff --git
a/gcc/tradcpp.c
b/gcc/tradcpp.c
index
e5e0935
..
82de0bb
100644
(file)
--- a/
gcc/tradcpp.c
+++ b/
gcc/tradcpp.c
@@
-848,6
+848,11
@@
main (argc, argv)
perror_with_name (pend[i].arg);
return FATAL_EXIT_CODE;
}
+
+ /* For -M, add this file to the dependencies. */
+ if (print_deps)
+ deps_add_dep (deps, pend[i].arg);
+
finclude (fd, pend[i].arg, &outbuf);
}
indepth--;