diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-21 18:12:36 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-21 18:12:36 +0000 |
commit | 8df9ac0047ab121db0eba84325df4de1a1fba61b (patch) | |
tree | 3d4387d1a1d0d0341832cc1513560ca4338db340 /gcc/f/lang-specs.h | |
parent | fe382a1764405446d4c4c307ef264fd7e9f711aa (diff) | |
download | gcc-8df9ac0047ab121db0eba84325df4de1a1fba61b.tar.gz |
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only. Use %j instead of /dev/null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35854 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/lang-specs.h')
-rw-r--r-- | gcc/f/lang-specs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h index e1e7d590f36..04fd9de911c 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} \ |