On Mon, 1 Dec 2025 14:26:02 +0100 Helmut Grohne <[email protected]> wrote:

gkrellm recently regressed cross building. Its makefile now errors out
when required packages go missing. This is also checked when requesting
the clean target and since debhelper does not pass cross tools there,
the build architecture pkg-config fails to locate host packages and
clean fails. A typical workaround is exporting tools from dpkg's
buildtools.mk for all targets. Once doing so STRIP is changed from empty
to an actual stripping tool and that ends up breaking make install. So
STRIP should be skipped. I'm attaching a patch with these changes.
Please consider applying it as it makes gkrellm cross buildable again.


I assume that STRIP is meant to point to the command used to strip binaries in that context? The Makefile STRIP variable used in the gkrellm rules only holds the optional '-s' argument that is passed to install.

Although gkrellm 2.5.0 will come with Meson build rules which will eventually replace the older Make build rules I'd be happy to also rename that variable. Maybe 'INSTALL_STRIP_OPT' would be more appropriate.

Regards,
Stefan

Reply via email to