aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/lang-specs.h
diff options
context:
space:
mode:
authorNix <nix@esperi.demon.co.uk>2000-08-21 18:12:36 +0000
committerJeff Law <law@gcc.gnu.org>2000-08-21 12:12:36 -0600
commitcc0dd8af227de2ecc3ab657fe8b68792b381a644 (patch)
tree3d4387d1a1d0d0341832cc1513560ca4338db340 /gcc/f/lang-specs.h
parent05a3d06e010e84758cd0ef4cee4a1b40aa3ef505 (diff)
downloadgcc-cc0dd8af227de2ecc3ab657fe8b68792b381a644.zip
gcc-cc0dd8af227de2ecc3ab657fe8b68792b381a644.tar.gz
gcc-cc0dd8af227de2ecc3ab657fe8b68792b381a644.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. Use %j instead of /dev/null. From-SVN: r35854
Diffstat (limited to 'gcc/f/lang-specs.h')
-rw-r--r--gcc/f/lang-specs.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h
index e1e7d59..04fd9de 100644
--- a/gcc/f/lang-specs.h
+++ b/gcc/f/lang-specs.h
@@ -29,27 +29,27 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
{".FPP", "@f77-cpp-input"},
{"@f77-cpp-input",
"tradcpp0 -lang-fortran %(cpp_options) %{!M:%{!MM:%{!E:%{!pipe:%g.f |\n\
- f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!S:-o %{|!pipe:%g.s} |\n\
- as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"},
+ f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
+ as %(asm_options) %{!pipe:%g.s} %A }}}}}}\n"},
{".r", "@ratfor"},
{"@ratfor",
"%{C:%{!E:%eGNU C does not support -C without using -E}}\
ratfor %{C} %{v} %i %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} |\n\
- f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!S:-o %{|!pipe:%g.s} |\n\
- as %(asm_options) %{!pipe:%g.s} %A }}\n"},
+ f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
+ as %(asm_options) %{!pipe:%g.s} %A }}}\n"},
{".f", "@f77"},
{".for", "@f77"},
{".FOR", "@f77"},
{"@f77",
- "%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*} %{!S:-o %{|!pipe:%g.s} |\n\
- as %(asm_options) %{!pipe:%g.s} %A }}}}\n"},
+ "%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*} %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
+ as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"},
/* XXX This is perverse and should not be necessary. */
{"@f77-version",
- "tradcpp0 -lang-fortran %(cpp_options) /dev/null \n\
+ "tradcpp0 -lang-fortran %(cpp_options) %j \n\
f771 -fnull-version %1 \
%{!Q:-quiet} -dumpbase g77-version.f %{d*} %{m*} %{a*} \
%{g*} %{O*} %{W*} %{w} %{pedantic*} \
- -version -fversion %{f*} %{I*} -o %g.s /dev/null \n\
+ -version -fversion %{f*} %{I*} -o %g.s %j \n\
as %a %Y -o %g%O %g.s %A \n\
ld %l %X -o %g %g%O %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z} %{Z} \