openvdb: try to fix memory exhaustion on i686.

Build log can be found in [1].

[1] https://build.voidlinux.org/builders/i686_builder/builds/36103/steps/shell_3/logs/stdio
This commit is contained in:
Érico Nogueira 2022-01-28 05:52:18 -03:00
parent c4a09b982f
commit 97cc191d76

View file

@ -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"