Date: Wednesday, December 18, 2013 @ 01:02:08 Author: svenstaro Revision: 201680
upgpkg: boost 1.55.0-3 Build using gcc and our flags, probably solves some bugs Modified: boost/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-12-17 22:11:08 UTC (rev 201679) +++ PKGBUILD 2013-12-18 00:02:08 UTC (rev 201680) @@ -10,11 +10,11 @@ pkgname=('boost-libs' 'boost') pkgver=1.55.0 _boostver=${pkgver//./_} -pkgrel=2 +pkgrel=3 url="http://www.boost.org/" arch=('i686' 'x86_64') license=('custom') -makedepends=('icu>=52.1' 'python' 'python2' 'bzip2' 'zlib' 'openmpi' 'clang') +makedepends=('icu>=52.1' 'python' 'python2' 'bzip2' 'zlib' 'openmpi') source=(http://downloads.sourceforge.net/${pkgbase}/${pkgbase}_${_boostver}.tar.gz 001-log_fix_dump_avx2.patch) sha1sums=('61ed0e57d3c7c8985805bb0682de3f4c65f4b6e5' @@ -38,7 +38,7 @@ cd ${pkgbase}_${_boostver} - ./bootstrap.sh --with-toolset=clang --with-icu --with-python=/usr/bin/python2 + ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python2 _bindir="bin.linuxx86" [[ "${CARCH}" = "x86_64" ]] && _bindir="bin.linuxx86_64" @@ -48,9 +48,9 @@ pushd tools for _tool in bcp inspect quickbook compiler_status process_jam_log wave; do - "${_stagedir}"/bin/b2 --toolset=clang $_tool + "${_stagedir}"/bin/b2 --toolset=gcc cflags="${CPPFLAGS} ${CFLAGS} -std=gnu++11 -O3" linkflags="${LDFLAGS}" $_tool done - "${_stagedir}"/bin/b2 --toolset=clang cflags="-std=gnu++11 -D__STRICT_ANSI__" library_status + "${_stagedir}"/bin/b2 --toolset=gcc cflags="${CPPFLAGS} ${CFLAGS} -std=gnu++11 -O3" linkflags="${LDFLAGS}" library_status popd cp -a dist/bin/* "${_stagedir}"/bin @@ -70,8 +70,9 @@ threading=multi \ runtime-link=shared \ link=shared,static \ - toolset=clang \ + toolset=gcc \ python=2.7 \ + cflags="${CPPFLAGS} ${CFLAGS} -std=gnu++11 -O3" linkflags="${LDFLAGS}" \ --layout=system \ --prefix="${_stagedir}" \ ${JOBS} \