Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-07-05 15:17:20 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-07-05 15:17:20 +0200
commit0d670695ae078c1c8e8d8aca660d8555fa60d3a3 (patch)
tree85790453a6fee65f229cbafa3d0adabc4946ef0e /core
parent3de3a16fa61386a0d6ce35562b67aafb7b449287 (diff)
core/linux: decoupled kernel 32-bit patching and gcc-lib pinning, disabled gcc-lib pinning for now
Diffstat (limited to 'core')
-rw-r--r--core/linux/PKGBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD
index 76b4daa6..e8cf0d85 100644
--- a/core/linux/PKGBUILD
+++ b/core/linux/PKGBUILD
@@ -25,10 +25,19 @@ eval "$(
a \
install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu
}
- $ i depends+=(gcc-libs=$(_get_gcc_version_from_config))
'
)"
+# pin gcc-libs version (for pahole, kernel modules etc.)
+# currently not working because of 'creative' pkgver
+# versions upstream '14.1.1+r58+gfc9fb69ad62-1'
+#eval "$(
+# declare -f package_${pkgbase}-headers | \
+# sed '
+# $ i depends+=(gcc-libs=$(_get_gcc_version_from_config))
+# '
+#)"
+
_get_gcc_version_from_config() {
if [ -z "$srcdir" ]; then
gcc --version \