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 e7b88573..ea8c3d64 100644 --- a/extra/tbb/PKGBUILD +++ b/extra/tbb/PKGBUILD @@ -32,3 +32,13 @@ fi if [ "$CARCH" == 'i486' ]; then unset check fi + +# ignore some errors in test +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + /CXXFLAGS/ a export CXXFLAGS="$CXXFLAGS -Wno-error=array-bounds -Wno-error=use-after-free" + ' + )" +fi |