Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gcc/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-08 10:55:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-08 10:55:23 +0200
commit9fe934082e3114d235e778ecd9c63ad8b0a1203d (patch)
treec535f433f05a1a3bc5424e5382bebbbdbada1424 /core/gcc/PKGBUILD
parenta8b0f526fc3bc09ceefe13274bd4501834768ba2 (diff)
core/gcc: remove tsan sanitizer plugin
Diffstat (limited to 'core/gcc/PKGBUILD')
-rw-r--r--core/gcc/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index 31920741..86d70aae 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -1,3 +1,4 @@
+# remove tsan (thread sanitizer) plugin, not available for i686
pkgname=(
$(
printf '%s\n' "${pkgname[@]}" | \
@@ -18,11 +19,13 @@ eval "$(
sed '
s/\$pkgname-multilib//
s@libsanitizer/{a,l,ub,t}san@libsanitizer/{a,l,ub}san@
+ /provides=/s/libtsan.so//
\@/usr/lib32/@ d
'
declare -f package_gcc | \
sed '
s/"lib32-gcc-libs[^"]*"//g
+ s@make.*tsan.*install@#\0@
'
declare -f package_gcc-ada | \
sed '