extra/boost to 1.68.0-1.1

This commit is contained in:
Kevin Mihelich 2018-09-22 07:20:22 +00:00
parent 0e0ea7e490
commit 749b56657e

View file

@ -12,13 +12,12 @@
# - changed _bindir to .linuxarm from .linuxx86
# - build armv6h with -march=armv6k
# - specify arm architecture to b2 for aarch64
# - build armv5 with c++98, can't support c++11 code in boost
pkgbase=boost
pkgname=('boost-libs' 'boost')
pkgver=1.68.0
_boostver=${pkgver//./_}
pkgrel=1
pkgrel=1.1
url='http://www.boost.org/'
arch=('x86_64')
license=('custom')
@ -45,12 +44,6 @@ build() {
install -dm755 "${_stagedir}"/share/boostbook
cp -a tools/boostbook/{xsl,dtd} "${_stagedir}"/share/boostbook/
if [[ $CARCH == "arm" ]]; then
STD="c++98"
else
STD="c++14"
fi
# default "minimal" install: "release link=shared,static
# runtime-link=shared threading=single,multi"
# --layout=tagged will add the "-mt" suffix for multithreaded libraries
@ -67,7 +60,7 @@ build() {
toolset=gcc \
python=2.7 \
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=${STD} -fPIC -O3" \
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \
linkflags="${LDFLAGS}" \
--layout=system \
${JOBS} \
@ -93,7 +86,7 @@ build() {
toolset=gcc \
python=3.7 \
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=${STD} -fPIC -O3" \
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \
linkflags="${LDFLAGS}" \
--layout=system \
${JOBS} \