From: Richard Stallman Date: Fri, 26 Nov 1993 20:58:04 +0000 (+0000) Subject: (default_compilers): Do define __GNUC_MINOR__ if input is `-'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc476ce26f60bc001d6bcf02408893ece5f684fd;p=gcc.git (default_compilers): Do define __GNUC_MINOR__ if input is `-'. From-SVN: r6166 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index 0584f6b923e..5b17123202a 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -469,7 +469,8 @@ static struct compiler default_compilers[] = "%{E: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}\ - -undef -D__GNUC__=%v1 %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ + -undef -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ + %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%p} %P} %{trigraphs}\ %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\