From: law Date: Mon, 17 May 1999 23:35:15 +0000 (+0000) Subject: X X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c22039ab64be7d28cda45cc9896ad4e02b3ad16;p=platform%2Fupstream%2Flinaro-gcc.git X * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26989 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 \