mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libogre: use generic libatomic checks
This commit is contained in:
parent
68eb25080b
commit
d137ce7f57
1 changed files with 3 additions and 9 deletions
|
@ -24,18 +24,12 @@ make_build_target="all OgreDoc"
|
||||||
wrksrc=ogre-$version
|
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
|
|
||||||
ppc64*) ;;
|
|
||||||
armv[56]*|ppc*) makedepends+=" libatomic-devel" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
find -name CMakeLists.txt -exec sed -i "{}" \
|
||||||
armv[56]*|ppc*) find -name CMakeLists.txt -exec sed -i "{}" \
|
|
||||||
-e "/target_link_libraries/s/)/ atomic)/" \;
|
-e "/target_link_libraries/s/)/ atomic)/" \;
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue