diff options
author | Nix <nix@esperi.demon.co.uk> | 2000-08-21 18:12:24 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-08-21 12:12:24 -0600 |
commit | 05a3d06e010e84758cd0ef4cee4a1b40aa3ef505 (patch) | |
tree | ff215fbaa9e457ee500a62cbd58e5883dffdc8b7 /gcc/cp/lang-specs.h | |
parent | b7ba649aeb3278ed73ef65b0ab1d3ee13c07be85 (diff) | |
download | gcc-05a3d06e010e84758cd0ef4cee4a1b40aa3ef505.zip gcc-05a3d06e010e84758cd0ef4cee4a1b40aa3ef505.tar.gz gcc-05a3d06e010e84758cd0ef4cee4a1b40aa3ef505.tar.bz2 |
lang-specs.h: Do not process -o or run the assembler if -fsyntax-only.
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only.
From-SVN: r35853
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r-- | gcc/cp/lang-specs.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 871ac5b..8f8c10d 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -37,19 +37,21 @@ Boston, MA 02111-1307, USA. */ %{fnew-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ %(cpp_options) %(cc1_options) %{+e*}\ - %{!S:-o %{|!pipe:%g.s} |\n\ - as %(asm_options) %{!pipe:%g.s} %A }}}}" + %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\ + as %(asm_options) %{!pipe:%g.s} %A }}}}}" #else /* ! USE_CPPLIB */ "cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\ %{fnew-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-trigraphs -$ -D__STRICT_ANSI__} %(cpp_options)\ %{!M:%{!MM:%{!E:%{!pipe:%g.ii} |\n\ - cc1plus %{!pipe:%g.ii} %(cc1_options) %{+e*} %{!S:-o %{|!pipe:%g.s} |\n\ - as %(asm_options) %{!pipe:%g.s} %A }}}}\n" + cc1plus %{!pipe:%g.ii} %(cc1_options) %{+e*}\ + %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\ + as %(asm_options) %{!pipe:%g.s} %A }}}}}\n" #endif /* ! USE_CPPLIB */ }, {".ii", "@c++-cpp-output"}, {"@c++-cpp-output", "%{!M:%{!MM:%{!E:\ cc1plus -fpreprocessed %i %(cc1_options) %{+e*}\ - %{!S:-o %{|!pipe:%g.s} |\n as %(asm_options) %{!pipe:%g.s} %A }}}}"}, + %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\ + as %(asm_options) %{!pipe:%g.s} %A }}}}}"}, |