diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-26 20:58:04 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-26 20:58:04 +0000 |
commit | dc476ce26f60bc001d6bcf02408893ece5f684fd (patch) | |
tree | b1634b42ca2972abe4937542adf7a3b7b2aeea54 /gcc | |
parent | 32e6ec6f4fdaa3cb0bb7f998c39da2ef1c3d3521 (diff) | |
download | gcc-dc476ce26f60bc001d6bcf02408893ece5f684fd.zip gcc-dc476ce26f60bc001d6bcf02408893ece5f684fd.tar.gz gcc-dc476ce26f60bc001d6bcf02408893ece5f684fd.tar.bz2 |
(default_compilers): Do define __GNUC_MINOR__ if input is `-'.
From-SVN: r6166
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}\ |