summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-23 00:22:12 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-25 03:09:55 -0500
commit6af3f0448fe8b3bf3472504a3ee547a816ab381a (patch)
tree0a7bf786a3501cc85630b21513eb564bf6b09a83 /lib/Makefile
parentadbd99414b56a02cb3acf8c0251a434aa950eca1 (diff)
downloadfork-ledger-6af3f0448fe8b3bf3472504a3ee547a816ab381a.tar.gz
fork-ledger-6af3f0448fe8b3bf3472504a3ee547a816ab381a.tar.bz2
fork-ledger-6af3f0448fe8b3bf3472504a3ee547a816ab381a.zip
More support for building with Clang
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 0f740996..ba7f5ffa 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -49,6 +49,7 @@ all: boost-build #icu-build boost-icu-build
prepare-boost:
perl -i -pe 's/local command = \[ common\.get-invocation-command darwin : g\+\+ : .*/local command = [ common.get-invocation-command darwin : g++ : $(CXX) ] ;/;' $(BOOST_SOURCE)/tools/build/v2/tools/darwin.jam
perl -i -pe 's/flags darwin\.compile OPTIONS : -no-cpp-precomp -gdwarf-2 (-fexceptions )?;/flags darwin\.compile OPTIONS : -gdwarf-2 \1;/;' $(BOOST_SOURCE)/tools/build/v2/tools/darwin.jam
+ perl -i -pe 's/command = \[ common\.get-invocation-command clang-darwin : clang\+\+ $$/command = [ common.get-invocation-command clang-darwin : clang++-mp-3.1/;' $(BOOST_SOURCE)/tools/build/v2/tools/clang-darwin.jam
boost-build: prepare-boost
(cd $(BOOST_SOURCE) && \