aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-07-29 08:53:43 +0000
committerdos-reis <gdr@axiomatics.org>2010-07-29 08:53:43 +0000
commitec8a295158088547ea1f686c40ec61937bb60122 (patch)
treeaf38c73efa7cb9ffd04a1b85db433eb5e50c482c /config
parentf8232edef433c9bdfa1f072fdd7dafd0fa01c62a (diff)
downloadopen-axiom-ec8a295158088547ea1f686c40ec61937bb60122.tar.gz
Support C++ as implementation language.
* config/var-def.mk (CXXCOMPILE): New. (CXXLINK): Likewise.
Diffstat (limited to 'config')
-rw-r--r--config/var-def.mk2
1 files changed, 2 insertions, 0 deletions
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