diff options
author | dos-reis <gdr@axiomatics.org> | 2014-02-24 03:54:45 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2014-02-24 03:54:45 +0000 |
commit | d445d40c7948ab323be419569bb0e95ace3f0c25 (patch) | |
tree | bc4a304fce921095383ff4999d2eab6f8102d04f /config | |
parent | 13e5c3f6bc5954bcb6b6a76672b1ae6850385179 (diff) | |
download | open-axiom-d445d40c7948ab323be419569bb0e95ace3f0c25.tar.gz |
Rename CXXCOMPILE to COMPILE and CXXLINK to LINK
Diffstat (limited to 'config')
-rw-r--r-- | config/var-def.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/config/var-def.mk b/config/var-def.mk index 09a90a06..805c157b 100644 --- a/config/var-def.mk +++ b/config/var-def.mk @@ -71,16 +71,14 @@ PACKAGE_STRING = @PACKAGE_STRING@ LIBTOOL_DEPS = @LIBTOOL_DEPS@ LIBTOOL = $(top_builddir)/libtool -## Command used to compile a C program -COMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) -CXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) +## Command used to compile a C++ program +COMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) ## 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) --tag=CC --mode=link $(CC) -static $(LDFLAGS) -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -static $(LDFLAGS) +LINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -static $(LDFLAGS) ## Libtool is a disaster for building DLLs on Cygwin, and insists ## on adding silly extensions where it should not on MinGW, so we have |