Mercurial > hg > bitcoin
changeset 2860:cd2653cbe33a draft
Fix testing setup
There were some problems with the existing testing setup:
- Makefile rules for test-file compilation used CFLAGS instead of
CXXFLAGS in makefile.unix
author | Vegard Nossum <vegard.nossum@gmail.com> |
---|---|
date | Sun, 31 Jul 2011 20:00:38 +0200 |
parents | b4b026098ee8 |
children | 41f0f3c83820 |
files | src/makefile.unix |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile.unix +++ b/src/makefile.unix @@ -133,7 +133,7 @@ $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS) obj/test/test_bitcoin.o: $(wildcard test/*.cpp) $(HEADERS) - $(CXX) -c $(CFLAGS) -o $@ test/test_bitcoin.cpp + $(CXX) -c $(CXXFLAGS) -o $@ test/test_bitcoin.cpp test_bitcoin: obj/test/test_bitcoin.o $(filter-out obj/nogui/init.o,$(OBJS:obj/%=obj/nogui/%)) $(CXX) $(CXXFLAGS) -o $@ $(LIBPATHS) $^ -Wl,-Bstatic -lboost_unit_test_framework $(LIBS)