diff options
author | Richard Stallman <rms@gnu.org> | 1992-09-03 08:40:32 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-09-03 08:40:32 +0000 |
commit | cc6fc442d8094d41410ca714e7ff87f822a1b4c0 (patch) | |
tree | 4bde12fbc5794d5b77f3254e0979df95948e7ded /gcc | |
parent | 86543c6e28b598dec46ba800e1eb685fdbfb2530 (diff) | |
download | gcc-cc6fc442d8094d41410ca714e7ff87f822a1b4c0.zip gcc-cc6fc442d8094d41410ca714e7ff87f822a1b4c0.tar.gz gcc-cc6fc442d8094d41410ca714e7ff87f822a1b4c0.tar.bz2 |
(process_command): Correct for spaz by patch, installing last change.
From-SVN: r2045
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -2100,18 +2100,6 @@ process_command (argc, argv) add_prefix (&startfile_prefix, standard_exec_prefix, 0, 1, NULL_PTR); add_prefix (&startfile_prefix, standard_exec_prefix_1, 0, 1, NULL_PTR); - else if (argv[i][0] == '+' && argv[i][1] == 'e') - { - /* Compensate for the +e options to the C++ front-end; - they're there simply for cfront call-compatability. We do - some magic in default_compilers to pass them down properly. - Note we deliberately start at the `+' here, to avoid passing - -e0 or -e1 down into the linker. */ - switches[n_switches].part1 = &argv[i][0]; - switches[n_switches].args = 0; - switches[n_switches].valid = 0; - n_switches++; - } /* More prefixes are enabled in main, after we read the specs file and determine whether this is cross-compilation or not. */ @@ -2141,6 +2129,18 @@ process_command (argc, argv) ; else if (! strcmp (argv[i], "-print-libgcc-file-name")) ; + else if (argv[i][0] == '+' && argv[i][1] == 'e') + { + /* Compensate for the +e options to the C++ front-end; + they're there simply for cfront call-compatability. We do + some magic in default_compilers to pass them down properly. + Note we deliberately start at the `+' here, to avoid passing + -e0 or -e1 down into the linker. */ + switches[n_switches].part1 = &argv[i][0]; + switches[n_switches].args = 0; + switches[n_switches].valid = 0; + n_switches++; + } else if (argv[i][0] == '-' && argv[i][1] != 0 && argv[i][1] != 'l') { register char *p = &argv[i][1]; |