Hi Sean,

On 2025-10-29 07:28, Sean Whitton wrote:
> Oh, no, the issue is that settings.make exports CFLAGS and LDFLAGS.
> 
> I don't know what would be a clean way to override that for the purposes
> of the Debian package build.  I would be grateful if you could take a
> look.

Given that settings.make is using SUBDIR_{CFLAGS,LDFLAGS} to populate
CFLAGS/LDFLAGS, it seems that the following in override_dh_auto_build
should work fine:

 SUBDIR_CFLAGS="$(CFLAGS)" SUBDIR_LDFLAGS="$(LDFLAGS)" $(MAKE) -C $$s all; \

Reply via email to