From ec8a295158088547ea1f686c40ec61937bb60122 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 29 Jul 2010 08:53:43 +0000 Subject: Support C++ as implementation language. * config/var-def.mk (CXXCOMPILE): New. (CXXLINK): Likewise. --- config/var-def.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/var-def.mk b/config/var-def.mk index cd5041a9..1768b3e9 100644 --- a/config/var-def.mk +++ b/config/var-def.mk @@ -68,12 +68,14 @@ LIBTOOL = $(top_builddir)/libtool ## Command used to compile a C program COMPILE = $(LIBTOOL) --mode=compile $(CC) -c +CXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) -c ## Sadly, at the moment, the C parts of the OpenAxiom system is not ## well structured enough to allow for clean dynamic libraries ## and dynamic linking. So, we build static programs. ## This situation is to be fixed when I have time. LINK = $(LIBTOOL) --mode=link $(CC) -static +CXXLINK = $(LIBTOOL) --mode=link $(CXX) -static ## Libtool is a disaster for building DLLs on Cygwin, and insists ## on adding silly extensions where it should not on MinGW, so we have -- cgit v1.2.3