mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
swiften: fix build on ppc
This commit is contained in:
parent
a03bc5b56d
commit
8786d9875b
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ checksum=2e48f081d337f471b4eba7c0c807a7b640216a76ed3568ced55abb5b927c7fd2
|
||||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1"
|
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"
|
_scons_options="assertions=1 build_examples=1 max_jobs=1 optimize=1 debug=0 swiften_dll=1"
|
||||||
|
|
||||||
|
# otherwise boost will miscompile and fail to link
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc*) CXXFLAGS+=" -fPIC";;
|
||||||
|
esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv6*) sed -i 3rdParty/Boost/src/libs/atomic/src/lockpool.cpp \
|
armv6*) sed -i 3rdParty/Boost/src/libs/atomic/src/lockpool.cpp \
|
||||||
|
|
Loading…
Add table
Reference in a new issue