s/DEB_BUILD_ARCH_CPU/DEB_TARGET_ARCH/
Sigh, I should have tested this.
Fortunately, x32 and hurd-amd64 are not release architectures. So, there is no rush to merge this.
I'll merge once this is approved and I have confirmed this really address the issue:
https://buildd.debian.org/status/fetch.php?pkg=harec&arch=x32&ver=0.24.2-4&stamp=1741545657&raw=0
(I also learnt that x32 port is not broken but currently debootstrap cannot resolve all dependencies due to some broken packages), so I cannot set up a chroot as described in https://wiki.debian.org/X32Port. I'll check later if any of the porterboxes have x32 chroots.
Reference: gcc-14 packages use DEB_TARGET_ARCH to set x32 specific configuration flags. See:
https://sources.debian.org/src/gcc-14/14.2.0-17/debian/rules2/?hl=L2664#L686
Edited by Miguel Landaeta