diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-01-15 08:48:04 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-01-15 08:48:04 +0100 |
commit | b5ac11bcce35d31f6e1837a5bab61030e9127b41 (patch) | |
tree | a1cc92544f2a130e806052f23e0a39a929b69951 | |
parent | 857dba216ee0e80c6ca44245db4367c2ce0580bc (diff) | |
download | packages-b5ac11bcce35d31f6e1837a5bab61030e9127b41.tar.xz |
extra/tbb: added -latomic for i486
-rw-r--r-- | extra/tbb/PKGBUILD | 10 |
1 files changed, 10 insertions, 0 deletions
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 |