aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@cygnus.com>1998-06-25 08:24:04 +0000
committerDave Brolley <brolley@gcc.gnu.org>1998-06-25 04:24:04 -0400
commitca242225a052a71523d9b836950e1fc3e77fc16c (patch)
treeb2d2eade2adc3e7686a31028da881f1a50d75897 /gcc/gcc.c
parentcb0dbb9a01a4a3c2c2a5a94601b72c2c63cc2a51 (diff)
downloadgcc-ca242225a052a71523d9b836950e1fc3e77fc16c.zip
gcc-ca242225a052a71523d9b836950e1fc3e77fc16c.tar.gz
gcc-ca242225a052a71523d9b836950e1fc3e77fc16c.tar.bz2
gcc.c (default_compilers): Use new | syntax to eliminate string concatenation.
Thu Jun 25 11:12:29 1998 Dave Brolley <brolley@cygnus.com> * gcc.c (default_compilers): Use new | syntax to eliminate string concatenation. From-SVN: r20711
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 3fd700a..f9cd0ef 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -602,8 +602,7 @@ static struct compiler default_compilers[] =
{"@c",
{
#if USE_CPPLIB
-#define CPP_FOR_C \
- "cpp -lang-c%{ansi:89} %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
+ "%{E|M|MM:cpp -lang-c%{ansi:89} %{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}\
-undef -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\
@@ -613,12 +612,8 @@ static struct compiler default_compilers[] =
%{traditional} %{ftraditional:-traditional}\
%{traditional-cpp:-traditional}\
%{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
- %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n"
-
- "%{E:"CPP_FOR_C"}"
- "%{!E:%{M:"CPP_FOR_C"}"
- "%{!M:%{MM:"CPP_FOR_C"}"
- "%{!MM:cc1 %i %1 \
+ %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}\
+ %{!E:%{!M:%{!MM:cc1 %i %1 \
-lang-c%{ansi:89} %{nostdinc*} %{A*} %{I*} %I\
%{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\
%{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\