From 124a300a979e420d10cb178c1cdfd7c3e81df597 Mon Sep 17 00:00:00 2001 From: Peter Honeder Date: Fri, 13 Feb 2015 14:36:52 -0800 Subject: [PATCH] fixed prefix to use abs path and switched to libc++ with clang --- scripts/simplebuild.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/simplebuild.sh b/scripts/simplebuild.sh index f92b047b50..e609bd8308 100755 --- a/scripts/simplebuild.sh +++ b/scripts/simplebuild.sh @@ -7,7 +7,11 @@ fi pushd ext-src/cppunit ./autogen.sh -./configure --prefix=../../externals/cppunit +CWD=$(pwd) +if [ -f Makefile ]; then + make distclean +fi +./configure LD=clang LDFLAGS="-stdlib=libc++" CXX=clang++ CC=clang CXXFLAGS="-stdlib=libc++" --prefix=$CWD/../../externals/cppunit make make install