From d445d40c7948ab323be419569bb0e95ace3f0c25 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 24 Feb 2014 03:54:45 +0000 Subject: Rename CXXCOMPILE to COMPILE and CXXLINK to LINK --- config/var-def.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'config') 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 -- cgit v1.2.3