about summary refs log tree commit diff
path: root/Makefile.lib
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T15·47+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T15·47+0000
commitffdc85fc8afba0828bd1f300fdb4f68de99d7000 (patch)
tree1e92dd09c66f82f236d39220e74bf652412746f5 /Makefile.lib
parent62e35cc3a893e3bc4ed1fe2a37ba67af9859b4cb (diff)
Respect configure flags
Diffstat (limited to 'Makefile.lib')
-rw-r--r--Makefile.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.lib b/Makefile.lib
index c7880ff11421..449f19ad506f 100644
--- a/Makefile.lib
+++ b/Makefile.lib
@@ -5,10 +5,10 @@ here = $(dir $(lastword $(MAKEFILE_LIST)))
 QUIET = @
 
 %.o: %.cc
-	$(QUIET) g++ -o $@ -c $< -g -fPIC $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP
+	$(QUIET) $(CXX) -o $@ -c $< -g -fPIC $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP
 
 %.o: %.c
-	$(QUIET) gcc -o $@ -c $< -g -fPIC $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP
+	$(QUIET) $(CC) -o $@ -c $< -g -fPIC $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP
 
 
 # Generate Make rules for libraries.