summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile4
-rwxr-xr-xlib/build.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/Makefile b/lib/Makefile
index cb05e44d..92ec38ce 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -6,7 +6,7 @@ STOW_ROOT = /usr/local/stow
PRODUCTS = $(HOME)/Products
GCC_VERSION = 4.7
-BOOST_VERSION = 1_49_0
+BOOST_VERSION = 1_50_0
CC = gcc-mp-$(GCC_VERSION)
ifeq ($(CC),clang)
@@ -27,7 +27,7 @@ BOOST_SOURCE = boost-release
ifeq ($(GCC_VERSION),4.7)
BOOST_DEFINES = define=_GLIBCXX__PTHREADS=1
else
-BOOST_DEFINES =
+BOOST_DEFINES =
endif
ifeq ($(CC),clang)
BOOST_TOOLSET = clang
diff --git a/lib/build.sh b/lib/build.sh
index 28408d73..4fadccfa 100755
--- a/lib/build.sh
+++ b/lib/build.sh
@@ -7,11 +7,11 @@
export PATH=$PATH:/opt/local/lib/openmpi/bin
cat > ~/user-config.jam <<EOF
-using clang-darwin : : "/usr/local/bin/clang++" : <cxxflags>-std=c++11 <include>/usr/local/include ;
+using clang-darwin : : "/usr/local/bin/clang++" : <cxxflags>-std=c++11 ;
EOF
# jww (2012-04-24): This is still linking against /usr/lib/libc++.1.dylib
# instead of /usr/local/lib/libc++.1.dylib
-make CXX=clang++ LD=clang++ CC=clang OPTJ=-j20 \
+make CXX=clang++ LD=clang++ CC=clang OPTJ=-j20 \
BOOST_TOOLSET=clang-darwin DIR_SUFFIX=clang31 \
- BOOST_DEFINES="-sICU_PATH=/usr/local cxxflags=\"-g -std=c++11 -nostdlibinc -I/usr/local/include -I/usr/local/include/c++/v1 -I/opt/local/include -I/usr/include -stdlib=libc++\" linkflags=\"-g -Z -L/usr/local/lib -L/opt/local/lib -L/usr/lib /usr/local/lib/libc++.dylib -stdlib=libc++\""
+ BOOST_DEFINES="-sHAVE_ICONV=1 -sICONV_PATH=/usr/local -sHAVE_ICU=1 -sICU_PATH=/usr/local cxxflags=\"-g -std=c++11 $* -nostdlibinc -isystem /usr/local/include -isystem /opt/local/include -isystem /usr/local/include/c++/v1 -isystem /usr/include -stdlib=libc++\" linkflags=\"-g $* -L/usr/local/lib -L/opt/local/lib -L/usr/lib /usr/local/lib/libc++.dylib -stdlib=libc++\""