summaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-25 08:24:51 +0000
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-25 08:24:51 +0000
commit4b435b2d1585db74980977c42428d31848fed894 (patch)
treedeffaf815027896895229ab91cd00db0555bcb43 /gcc/cp/lang-specs.h
parentf068da9d70eac612923d81d43ee26f1e127de8a0 (diff)
downloadgcc-4b435b2d1585db74980977c42428d31848fed894.tar.gz
1998-06-25 Dave Brolley <brolley@cygnus.com>
* lang-specs.h: Use new | syntax to eliminate string concatenation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20712 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 88ac4d8873e..b208ca18dbc 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */
{"@c++",
#if USE_CPPLIB
{
-#define CPP_FOR_CXX "cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
+ "%{E|M|MM: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}\
-undef -D__GNUC__=%v1 -D__GNUG__=%v1 -D__cplusplus -D__GNUC_MINOR__=%v2\
@@ -39,12 +39,8 @@ Boston, MA 02111-1307, USA. */
%{fhonor-std:-D__HONOR_STD} %{fnew-abi:-D__HONOR_STD}\
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} %{trigraphs}\
%{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_CXX"}"
- "%{!E:%{M:"CPP_FOR_CXX"}"
- "%{!M:%{MM:"CPP_FOR_CXX"}"
- "%{!MM:cc1plus %i %1 %2\
+ %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}\
+ %{!E:%{!M:%{!MM:cc1plus %i %1 %2\
-lang-c++ %{nostdinc*} %{C} %{A*} %{I*} %{P} %I\
-undef -D__GNUC__=%v1 -D__GNUG__=%v1 -D__cplusplus\
-D__GNUC_MINOR__=%v2\
@@ -63,7 +59,6 @@ Boston, MA 02111-1307, USA. */
%{!S:as %a %Y\
%{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
%{!pipe:%g.s} %A\n }}}}"}},
-#undef CPP_FOR_CXX
#else /* ! USE_CPPLIB */
{"cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
%{C:%{!E:%eGNU C++ does not support -C without using -E}}\