summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-28 06:25:23 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-28 06:25:23 -0400
commit33fa4a0be60cca15ee6a00f3ae0821520333dd09 (patch)
tree24eb7f89969b93661e03f97b3e2031a2eb11a4cc /lib
parente60791dc4659f18caecf6c0490f5aceb7c0a51b7 (diff)
downloadfork-ledger-33fa4a0be60cca15ee6a00f3ae0821520333dd09.tar.gz
fork-ledger-33fa4a0be60cca15ee6a00f3ae0821520333dd09.tar.bz2
fork-ledger-33fa4a0be60cca15ee6a00f3ae0821520333dd09.zip
Pass CC/LD/CXX to CppUnit build in lib/Makefile
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile14
1 files changed, 7 insertions, 7 deletions
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