diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-25 03:08:03 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-25 03:09:56 -0500 |
commit | 72d10112512278b219220458a13dbc53f5b646f5 (patch) | |
tree | 4898807e5f9f2415fe2f967fb7f38b820359fff3 /lib/build.sh | |
parent | 6af3f0448fe8b3bf3472504a3ee547a816ab381a (diff) | |
download | fork-ledger-72d10112512278b219220458a13dbc53f5b646f5.tar.gz fork-ledger-72d10112512278b219220458a13dbc53f5b646f5.tar.bz2 fork-ledger-72d10112512278b219220458a13dbc53f5b646f5.zip |
Build-related changes
Diffstat (limited to 'lib/build.sh')
-rwxr-xr-x | lib/build.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/build.sh b/lib/build.sh index 2d18dc58..28408d73 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 : : "/opt/local/bin/clang++-mp-3.1" : <cxxflags>-std=c++11 ; +using clang-darwin : : "/usr/local/bin/clang++" : <cxxflags>-std=c++11 <include>/usr/local/include ; EOF -make CXX=clang++-mp-3.1 LD=clang++-mp-3.1 CC=clang-mp-3.1 OPTJ=-j16 \ - CXXFLAGS="-g -std=c++11 -stdlib=libc++" \ - LDFLAGS="-g -stdlib=libc++" \ - BOOST_TOOLSET=clang DIR_SUFFIX=clang31 \ - BOOST_DEFINES="include=/opt/local/include -sICU_PATH=/opt/local -sICONV_PATH=/opt/local cxxflags=\"-g -std=c++11 -stdlib=libc++\" linkflags=\"-g -stdlib=libc++\""
\ No newline at end of file +# 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 \ + 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++\"" |