diff --git a/packages/devel/boost/build b/packages/devel/boost/build index 4520479f05..110b92d941 100755 --- a/packages/devel/boost/build +++ b/packages/devel/boost/build @@ -25,6 +25,10 @@ # boost fails building with LTO support strip_lto +CFLAGS="$CFLAGS -fPIC" +CXXFLAGS="$CXXFLAGS -fPIC" +LDFLAGS="$LDFLAGS -fPIC" + cd $PKG_BUILD sh bootstrap.sh \ --prefix=/usr \ @@ -40,5 +44,8 @@ $ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc link=static \ --with-thread \ --with-iostreams \ --with-system \ + --with-serialization \ + --with-filesystem \ + --with-python \ --with-regex -sICU_PATH="$SYSROOT_PREFIX/usr" \ install diff --git a/packages/devel/boost/meta b/packages/devel/boost/meta index 748c1d20fa..70ff2be20b 100644 --- a/packages/devel/boost/meta +++ b/packages/devel/boost/meta @@ -26,7 +26,7 @@ PKG_LICENSE="OSS" PKG_SITE="http://www.boost.org/" PKG_URL="$SOURCEFORGE_SRC/boost/boost/1.53.0/${PKG_NAME}_${PKG_VERSION}.tar.bz2" PKG_DEPENDS="zlib bzip2" -PKG_BUILD_DEPENDS="toolchain boost-jam Python-host zlib bzip2" +PKG_BUILD_DEPENDS="toolchain boost-jam Python-host Python zlib bzip2" PKG_PRIORITY="optional" PKG_SECTION="devel" PKG_SHORTDESC="boost: Peer-reviewed STL style libraries for C++"