From 258d3911fa8cdf1bedf60e66226a1ad2122f440b Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 4 Dec 2001 22:26:16 +0000 Subject: * cppspec.c (lang_specific_driver): Set is_cpp_driver. * gcc.c (process_command): Ensure the cpp driver sees --help and --target-help, and that the help is printed exactly once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47627 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cppspec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/cppspec.c') diff --git a/gcc/cppspec.c b/gcc/cppspec.c index 27a82360105..5f787d61c8d 100644 --- a/gcc/cppspec.c +++ b/gcc/cppspec.c @@ -103,6 +103,9 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) int i, j, quote = 0; const char **new_argv; int new_argc; + extern int is_cpp_driver; + + is_cpp_driver = 1; /* First pass. If we see an -S or -c, barf. If we see an input file, turn off read_stdin. If we see a second input file, it is actually -- cgit v1.2.1