summaryrefslogtreecommitdiff
path: root/gcc/doc/cppenv.texi
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-14 22:34:50 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-14 22:34:50 +0000
commit3c556f04c64ac43ce21344ceb0d94165934b2b52 (patch)
treef37dd03c8db5ac792b317d8bbddee04999fd0d43 /gcc/doc/cppenv.texi
parent47f175274591a9f5f384e25a56d4f994e36b368f (diff)
downloadgcc-3c556f04c64ac43ce21344ceb0d94165934b2b52.tar.gz
PR preprocessor/7358
* c-opts.c (check_deps_environment_vars): Ignore main file for SUNPRO_DEPENDENCIES. * cppfiles.c (stack_include_file): Ignore main file if appropriate. * cpplib.h (struct cpp_options): New member in deps. * doc/cppenv.texi: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/cppenv.texi')
-rw-r--r--gcc/doc/cppenv.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/cppenv.texi b/gcc/doc/cppenv.texi
index a233313e66e..7a913f15903 100644
--- a/gcc/doc/cppenv.texi
+++ b/gcc/doc/cppenv.texi
@@ -72,7 +72,8 @@ with an optional @option{-MT} switch too.
@cindex dependencies for make as output
This variable is the same as @env{DEPENDENCIES_OUTPUT} (see above),
except that system header files are not ignored, so it implies
-@option{-M} rather than @option{-MM}.
+@option{-M} rather than @option{-MM}. However, the dependence on the
+main input file is omitted.
@ifset cppmanual
@xref{Invocation}.
@end ifset