MY_PV="$(ver_rs 1- _)"
-DESCRIPTION="Boost Libraries for C++"
+DESCRIPTION="Static Boost Libraries for C++"
HOMEPAGE="https://www.boost.org/"
SRC_URI="https://archives.boost.io/release/${PV}/source/boost_${MY_PV}.tar.bz2"
S="${WORKDIR}/${PN%-*}_${MY_PV}"
# https://svn.boost.org/trac/boost/ticket/7105
threading=multi
link=static
- # enables PIC
- visibility=global
# this seems to be the only way to disable compression algorithms
# https://www.boost.org/doc/libs/1_70_0/libs/iostreams/doc/installation.html#boost-build
-sNO_BZIP2=$(usex bzip2 0 1)
fi
# Use C++17 globally as of 1.80
- append-cxxflags -std=c++17
+ append-cflags -fPIC
+ append-cxxflags -std=c++17 -fPIC
if [[ ${CHOST} != *-darwin* ]]; then
# On modern macOS, file I/O is already 64-bit by default,
MY_PV="$(ver_rs 1- _)"
-DESCRIPTION="Boost Libraries for C++"
+DESCRIPTION="Static Boost Libraries for C++"
HOMEPAGE="https://www.boost.org/"
SRC_URI="https://archives.boost.io/release/${PV}/source/boost_${MY_PV}.tar.bz2"
S="${WORKDIR}/${PN%-*}_${MY_PV}"
# https://svn.boost.org/trac/boost/ticket/7105
threading=multi
link=static
- # enables PIC
- visibility=global
# this seems to be the only way to disable compression algorithms
# https://www.boost.org/doc/libs/1_70_0/libs/iostreams/doc/installation.html#boost-build
-sNO_BZIP2=$(usex bzip2 0 1)
fi
# Use C++17 globally as of 1.80
- append-cxxflags -std=c++17
+ append-cflags -fPIC
+ append-cxxflags -std=c++17 -fPIC
if [[ ${CHOST} != *-darwin* ]]; then
# On modern macOS, file I/O is already 64-bit by default,