libogre: fix build on ppc32 (need libatomic)
This commit is contained in:
parent
974821a69a
commit
738f9c42cd
1 changed files with 4 additions and 2 deletions
|
@ -25,12 +25,14 @@ wrksrc=ogre-$version
|
||||||
|
|
||||||
CXXFLAGS="-fcheck-new -fno-delete-null-pointer-checks -fno-lifetime-dse"
|
CXXFLAGS="-fcheck-new -fno-delete-null-pointer-checks -fno-lifetime-dse"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv[56]*) makedepends+=" libatomic-devel" ;;
|
ppc64*) ;;
|
||||||
|
armv[56]*|ppc*) makedepends+=" libatomic-devel" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv[56]*) find -name CMakeLists.txt -exec sed -i "{}" \
|
ppc64*) ;;
|
||||||
|
armv[56]*|ppc*) find -name CMakeLists.txt -exec sed -i "{}" \
|
||||||
-e "/target_link_libraries/s/)/ atomic)/" \;
|
-e "/target_link_libraries/s/)/ atomic)/" \;
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue