From 33fa4a0be60cca15ee6a00f3ae0821520333dd09 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Feb 2009 06:25:23 -0400 Subject: Pass CC/LD/CXX to CppUnit build in lib/Makefile --- lib/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index 48ae86c1..066bc670 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,19 +31,19 @@ cppunit-release: -(cd cppunit; make distclean) (cd cppunit; sh autogen.sh; \ ./configure CFLAGS="$(ARCH_CFLAGS)" \ - LDFLAGS="$(ARCH_LDFLAGS)" \ - --prefix=$(STOW_ROOT)/cppunit \ - --disable-dependency-tracking && \ + LDFLAGS="$(ARCH_LDFLAGS)" \ + CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \ + --prefix=$(STOW_ROOT)/cppunit && \ make install) cppunit-debug: -(cd cppunit; make distclean) (cd cppunit; sh autogen.sh; \ ./configure CPPFLAGS="-D_GLIBCXX_DEBUG=1" \ - CFLAGS="-g $(ARCH_CFLAGS)" \ - LDFLAGS="-g $(ARCH_LDFLAGS)" \ - --prefix=$(STOW_ROOT)/cppunit-debug \ - --disable-dependency-tracking && \ + CFLAGS="-g $(ARCH_CFLAGS)" \ + LDFLAGS="-g $(ARCH_LDFLAGS)" \ + CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \ + --prefix=$(STOW_ROOT)/cppunit-debug && \ make install) cppunit-build: cppunit-release cppunit-debug -- cgit v1.2.3