summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/make/compilers/gcc-target-default.cfg7
-rw-r--r--make/compilers/gcc-target-default.cfg7
2 files changed, 14 insertions, 0 deletions
diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg
index 51a8bfa708..20dc531661 100644
--- a/c/src/make/compilers/gcc-target-default.cfg
+++ b/c/src/make/compilers/gcc-target-default.cfg
@@ -1,6 +1,13 @@
#
+# Shared compiler for all GNU tools configurations
+#
+# $Id$
#
+# names for C++ compilers.
+CXX=$(CC)
+CCC=$(CXX)
+
CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
CPLUS_CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 51a8bfa708..20dc531661 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -1,6 +1,13 @@
#
+# Shared compiler for all GNU tools configurations
+#
+# $Id$
#
+# names for C++ compilers.
+CXX=$(CC)
+CCC=$(CXX)
+
CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
CPLUS_CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)