summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-12-09 22:09:42 +0000
committerRoland McGrath <roland@redhat.com>1992-12-09 22:09:42 +0000
commit2b42e280e86cf1667f61a6335e450c3ee066e2b4 (patch)
tree70e74995347dd9cacf8bc94b8b19a4bea003c840
parent289417e0891850203236383bd245b9a0ea8e0383 (diff)
downloadgunmake-2b42e280e86cf1667f61a6335e450c3ee066e2b4.tar.gz
Formerly default.c.~20~
-rw-r--r--default.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/default.c b/default.c
index e3fe88b..083fab0 100644
--- a/default.c
+++ b/default.c
@@ -185,7 +185,7 @@ static char *default_variables[] =
"ARFLAGS", "rv",
"AS", "as",
"CC", "cc",
- "C++", "g++",
+ "CXX", "g++",
/* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist,
and to the empty string if $@ does exist. */
@@ -245,9 +245,9 @@ static char *default_variables[] =
"LINK.o", "$(CC) $(LDFLAGS) $(TARGET_ARCH)",
"COMPILE.c", "$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
"LINK.c", "$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "COMPILE.cc", "$(C++) $(C++FLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
+ "COMPILE.cc", "$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
"COMPILE.C", "$(COMPILE.cc)",
- "LINK.cc", "$(C++) $(C++FLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
+ "LINK.cc", "$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
"LINK.C", "$(LINK.cc)",
"YACC.y", "$(YACC) $(YFLAGS)",
"LEX.l", "$(LEX) $(LFLAGS) -t",