summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-11-26 19:04:51 -0500
committerJohn Wiegley <johnw@newartisans.com>2010-11-26 19:04:51 -0500
commit9bdb384df7b399b2ddb670e8b24fa1279312cd18 (patch)
treebfb0e5b47ac5d8cd0b88cd19afb0cbbd0680e0fc /lib/Makefile
parent8626409678483f529653adeaedfa7b7a4e797ebb (diff)
downloadfork-ledger-9bdb384df7b399b2ddb670e8b24fa1279312cd18.tar.gz
fork-ledger-9bdb384df7b399b2ddb670e8b24fa1279312cd18.tar.bz2
fork-ledger-9bdb384df7b399b2ddb670e8b24fa1279312cd18.zip
Update to Boost 1.45
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index f2a8cd14..01a51717 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -10,10 +10,12 @@ ifeq ($(CC),clang)
CXX = clang++
LD = llvm-ld
DIR_SUFFIX = clang
+OPTJ =
else
CXX = g++-mp-4.5
LD = gcc-mp-4.5
DIR_SUFFIX = gcc45
+OPTJ = #-j16
endif
CPPFLAGS = -D_GLIBCXX_FULLY_DYNAMIC_STRING=1
ifneq ($(CC),clang)
@@ -22,7 +24,7 @@ endif
CFLAGS = $(CPPFLAGS) -g
LDFLAGS = -g
-BOOST_VERSION = 1_44_0
+BOOST_VERSION = 1_45_0
BOOST_SOURCE = boost_$(BOOST_VERSION)
BOOST_DEFINES = define=_GLIBCXX_FULLY_DYNAMIC_STRING=1
ifeq ($(CC),clang)
@@ -47,7 +49,8 @@ all: boost-build cppunit-build #icu-build boost-icu-build
boost-build:
(cd $(BOOST_SOURCE) && \
- bjam debug --prefix=$(BOOST_STOW) --build-dir=$(BOOST_BUILD) \
+ sh bootstrap.sh && \
+ ./bjam $(OPTJ) debug --prefix=$(BOOST_STOW) --build-dir=$(BOOST_BUILD) \
$(BOOST_FLAGS) install)
cppunit-build: