Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2026-09-01 08:12:13 +0200
committerErich Eckner <git@eckner.net>2026-09-01 08:12:13 +0200
commit0bc131da40bf093cde61fb6c2d2b1d8618948825 (patch)
tree96781db6d276ab941d14f1605b1e21a3c56a3eb8
parent51b09f9f9bb3c51701360442f319b70a8fa54f37 (diff)
core/gcc: do not pick liblsan, as it is not built on 32-bitHEADmaster
-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
'