index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/tbb/PKGBUILD | 10 |
diff --git a/extra/tbb/PKGBUILD b/extra/tbb/PKGBUILD index fa2854cf..f2ff0000 100644 --- a/extra/tbb/PKGBUILD +++ b/extra/tbb/PKGBUILD @@ -12,3 +12,13 @@ eval "$( $i patch -p1 -i "$srcdir/oneTBB-2021.5.0-no-waitpkg.patch" ' )" + +# -latomic on i486 +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/cmake /cmake -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic / + ' + )" +fi |