diff --git a/community/libuhd/PKGBUILD b/community/libuhd/PKGBUILD index 6b3ed6cef..ef5a58c0e 100644 --- a/community/libuhd/PKGBUILD +++ b/community/libuhd/PKGBUILD @@ -3,6 +3,7 @@ # ALARM: Kevin Mihelich # - set -DNEON_SIMD_ENABLE=OFF +# - explicitly link v5/v6 with libatomic pkgname=libuhd pkgver=4.0.0.0 @@ -28,6 +29,7 @@ prepare() { build() { cd "$srcdir/uhd-$pkgver/host/build" + [[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(uhd atomic)" >> "$srcdir/uhd-$pkgver/host/lib/CMakeLists.txt" cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \ -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DENABLE_PYTHON_API=ON \