aboutsummaryrefslogtreecommitdiff
path: root/config/var-def.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/var-def.mk')
-rw-r--r--config/var-def.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/var-def.mk b/config/var-def.mk
index 11e0ebd9..b89d3c88 100644
--- a/config/var-def.mk
+++ b/config/var-def.mk
@@ -72,8 +72,8 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
LIBTOOL = $(top_builddir)/libtool
## Command used to compile a C program
-COMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CPPFLAGS)
-CXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CPPFLAGS)
+COMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS)
+CXXCOMPILE = $(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