swiften: make 3rdparty/boost build on armv6*
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
bdd33bca6d
commit
00408aa6d2
|
@ -12,15 +12,16 @@ homepage="http://swift.im/"
|
|||
distfiles="http://swift.im/git/swift/snapshot/swift-${version}.tar.bz2"
|
||||
checksum=2e48f081d337f471b4eba7c0c807a7b640216a76ed3568ced55abb5b927c7fd2
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
armv6*) broken="https://build.voidlinux.org/builders/armv6l_builder/builds/14130/steps/shell_3/logs/stdio"
|
||||
;;
|
||||
esac
|
||||
|
||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1"
|
||||
_scons_options="assertions=1 build_examples=1 max_jobs=1 optimize=1 debug=0 swiften_dll=1"
|
||||
|
||||
do_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) sed -i 3rdParty/Boost/src/libs/atomic/src/lockpool.cpp \
|
||||
-e "s;BOOST_ATOMIC_THREAD_FENCE > 0;0;" \
|
||||
-e "s;BOOST_ATOMIC_SIGNAL_FENCE > 0;0;"
|
||||
;;
|
||||
esac
|
||||
scons \
|
||||
cc="${CC}" \
|
||||
cxx="${CXX}" \
|
||||
|
|
Loading…
Reference in New Issue