diff --git a/srcpkgs/openvdb/template b/srcpkgs/openvdb/template index 86d99416e36..845aba9a688 100644 --- a/srcpkgs/openvdb/template +++ b/srcpkgs/openvdb/template @@ -17,6 +17,11 @@ checksum=ad3816e8f1931d1d6fdbddcec5a1acd30695d049dd10aa965096b2fb9972b468 # reduce spam in log output CXXFLAGS="-Wno-deprecated-declarations" +if [ "$XBPS_WORDSIZE" -eq 32 ]; then + # fix "virtual memory exhausted: Operation not permitted" errors + nodebug=yes +fi + if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"