diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-12 17:34:22 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-12 17:34:22 +0000 |
commit | 17d6acc677ae083d8f829038710f3b6ed0dcd4cf (patch) | |
tree | 68a380ebaa22916925253a080e8f0cb322ea207d /gcc/f/lang-specs.h | |
parent | 798e37947c85b065069c4c6a2bf59c476f9d21c3 (diff) | |
download | gcc-17d6acc677ae083d8f829038710f3b6ed0dcd4cf.tar.gz |
* cccp.c: Accept and ignore -lang-fortran.
* f/lang-specs.h: Pass -lang-fortran to preprocessor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/lang-specs.h')
-rw-r--r-- | gcc/f/lang-specs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h index b41956d8eb2..924802e73d9 100644 --- a/gcc/f/lang-specs.h +++ b/gcc/f/lang-specs.h @@ -35,7 +35,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA Sun f77, at least) so you test `__unix' rather than `unix'. -D_LANGUAGE_FORTRAN is used by some compilers like SGI and might as well be in there. */ - {"cpp -lang-c %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ + {"cpp -lang-fortran %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2}\ @@ -85,7 +85,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\ %{!pipe:%g.s} %A\n }}}}"}}, {"@f77-version", - {"cpp -lang-c %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I \ + {"cpp -lang-fortran %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I \ %{C:%{!E:%eGNU C does not support -C without using -E}} \ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG} \ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2} \ |