diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-12-04 22:26:16 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-12-04 22:26:16 +0000 |
commit | 69927b59f2c4b5de206b5fb336821ba8dd645e59 (patch) | |
tree | 4aec21524555a6f1865b61882e878e800162659f /gcc/cppspec.c | |
parent | e288604a6a9e320c3d1434733ce5bd6609e87042 (diff) | |
download | gcc-69927b59f2c4b5de206b5fb336821ba8dd645e59.zip gcc-69927b59f2c4b5de206b5fb336821ba8dd645e59.tar.gz gcc-69927b59f2c4b5de206b5fb336821ba8dd645e59.tar.bz2 |
cppspec.c (lang_specific_driver): Set is_cpp_driver.
* 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.
From-SVN: r47627
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r-- | gcc/cppspec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c index 27a8236..5f787d6 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 |