Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/tbb/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
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