Re: [Debian-med-packaging] Bug#884795: Bug#884795: patman: FTBFS on x32: final link failed: Nonrepresentable section
On 20/12/2017 20:00, Aaron M. Ucko wrote:
I haven't looked at motif's build system, but I see that patman's
makefile doesn't honor CFLAGS or CXXFLAGS (which would be the normal
means of injecting relevant flags here), just CPPFLAGS (which is
supposed to be for the C PreProcessor). It should properly consult both
CPPFLAGS and CXXFLAGS, and distribute its own flags across these two
variables as appropriate.
Thanks for that tip! It seems upstream had CPPFLAGS and CXXFLAGS
confused. Correcting that  made blhc happy, and I was able to revert
my previous workaround.
Andreas, ping me if you want that uploaded.
As far as I can tell, hardening flags are being passed correctly in