aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.phys.columbia.edu>1999-05-17 17:35:15 -0600
committerJeff Law <law@gcc.gnu.org>1999-05-17 17:35:15 -0600
commit49933dbade0ebe5d04684912166b5494f8b948bb (patch)
tree3d0653317c4bf8ebf4534d488353033189236dc9 /gcc
parent4647121e32b94f0537259b33f27520edb74da01c (diff)
downloadgcc-49933dbade0ebe5d04684912166b5494f8b948bb.zip
gcc-49933dbade0ebe5d04684912166b5494f8b948bb.tar.gz
gcc-49933dbade0ebe5d04684912166b5494f8b948bb.tar.bz2
lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
X * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. From-SVN: r26989
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/lang-specs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h
index 9cdc8c4..b4492a6 100644
--- a/gcc/f/lang-specs.h
+++ b/gcc/f/lang-specs.h
@@ -38,7 +38,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
{"cpp -lang-c %{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}\
- -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\
+ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2}\
%{ansi:-trigraphs -$ -D__STRICT_ANSI__}\
%{!undef:%P} -D_LANGUAGE_FORTRAN %{trigraphs} \
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} -traditional\
@@ -88,7 +88,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
{"cpp -lang-c %{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} \
- -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 \
+ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2} \
%{ansi:-trigraphs -$ -D__STRICT_ANSI__} \
%{!undef:%P} -D_LANGUAGE_FORTRAN %{trigraphs} \
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} -traditional \