Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/gcc/PKGBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index a77aac72..6ae3e7ff 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -8,6 +8,12 @@ package_libhwasan( ) {
echo "No HWASAN for 32-bit (yet)."
}
+# standalone liblsan is not built on 32-bit: only lsan_common goes into
+# libasan, so there is no liblsan.la / liblsan.so to be picked
+package_liblsan( ) {
+ touch "$pkgdir/this-is-a-dummy-package"
+}
+
pkgname=(
$(
printf '%s\n' "${pkgname[@]}" | \
@@ -172,8 +178,9 @@ package_libgcobol( ) {
echo "No Cobol for 32-bit (yet)."
}
-# tsan and hwasan are not built on 32-bit, and cobol doesn't build either:
-# upstream package_gcc() must not try to pick their files
+# tsan, hwasan and (standalone) lsan are not built on 32-bit, and cobol
+# doesn't build either: upstream package_gcc() must not try to pick their
+# files
_sedpatch package_gcc '
\,_pick libtsan, d
'
@@ -183,6 +190,10 @@ _sedpatch package_gcc '
'
_sedpatch package_gcc '
+ \,_pick liblsan, d
+'
+
+_sedpatch package_gcc '
\,_pick libgcobol, d
'