From 2203b8e42977cf43372cf692ca0ab4563d4f5e4b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 7 May 2021 11:03:44 +0200 Subject: community/gdal: skip python bindings on i486 (FS32#188) --- community/gdal/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/community/gdal/PKGBUILD b/community/gdal/PKGBUILD index e14cdc81..5f6d50d7 100644 --- a/community/gdal/PKGBUILD +++ b/community/gdal/PKGBUILD @@ -26,3 +26,14 @@ if [ "${CARCH}" = "i486" ]; then ' )" fi + +# i486 has a stack smash when building the Python bindings (see FS32#188) +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f package_python-gdal | \ + sed ' + 3 i if false; then + $ i fi + ' + )" +fi -- cgit v1.2.3-70-g09d2