#1115600 prctl FTCBFS: configures for the build architecture

Package:
src:prctl
Source:
src:prctl
Submitter:
Helmut Grohne
Date:
2025-09-18 14:57:05 UTC
Severity:
normal
Tags:
#1115600#5
Date:
2025-09-18 11:43:21 UTC
From:
To:
prctl fails to cross build from source, because it does not pass --host
to ./configure and thus configures for the build architecture. The
easiest way of passing the flag - using dh_auto_configure - also passes
dpkg's buildflags and makes prctl cross buildable. I'm attaching a patch
for your convenience and recommend converting the package to a more
modern debhelper usage.

Helmut