OpenSubdiv: fix build on noatomic8 archs.
Not making this a change to the tbb package itself because SuiteSparse (one of the other tbb dependencies which can be cross built) builds without it. This decision can be revisited in the future, though.
This commit is contained in:
parent
3bbeee7fe7
commit
c4a09b982f
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,12 @@ if [ "$CROSS_BUILD" ]; then
|
|||
configure_args+=" -DSTRINGIFY_LOCATION=/usr/bin/stringify"
|
||||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||
fi
|
||||
|
||||
|
||||
OpenSubdiv-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Add table
Reference in a new issue