diff options
author | Brooks Moses <brooks.moses@codesourcery.com> | 2007-04-04 18:10:17 +0000 |
---|---|---|
committer | Brooks Moses <brooks@gcc.gnu.org> | 2007-04-04 11:10:17 -0700 |
commit | 2c4c82dde6ab9fa9288285d4dce109aecb8c0f34 (patch) | |
tree | a69bb72c194533881416e2c0a7fd3c6791469eea /gcc/gcc.c | |
parent | 5bb43e6d24fcb5e66897d6f2a9e10298e8f5fdbc (diff) | |
download | gcc-2c4c82dde6ab9fa9288285d4dce109aecb8c0f34.zip gcc-2c4c82dde6ab9fa9288285d4dce109aecb8c0f34.tar.gz gcc-2c4c82dde6ab9fa9288285d4dce109aecb8c0f34.tar.bz2 |
re PR driver/31353 (gcc --help=target gives a linker error.)
PR other/31353
* gcc.c (main): Do not run the linker if
print_subprocess_help indicates that it shouldn't be
run.
From-SVN: r123498
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6692,7 +6692,7 @@ main (int argc, char **argv) /* Run ld to link all the compiler output files. */ - if (num_linker_inputs > 0 && error_count == 0) + if (num_linker_inputs > 0 && error_count == 0 && print_subprocess_help < 2) { int tmp = execution_count; |