On Sun, Jan 26, 2020 at 07:28:52PM +0100, Andreas Henriksson wrote: > Hello Thomas Dickey, > > You've previously interacted with the debian bug report at > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656026 > and the issue there should have been fixed already. > > While preparing an updated debian package with the latest > snapshot release the packaging CI however noticed another > (minor) issue with hardening. Full "blhc" log available at: > https://salsa.debian.org/debian/mawk/-/jobs/530844 > > Basically it seems the issue is that $(LDFLAGS) is still > missing from the Makefile.in line that builds makescan(.c). > Given that makescan seems to be a tool only used during > build and not actually shipped/installed, hardening it > is probably very low priority. It might however be nice > to have this fixed simply so that the blhc job will succeed > making it easier to spot any potential future regressions > in hardening. Would be great if you could consider looking > into this. Thanks in advance.
This was addressed by
20200106
+ use both CFLAGS/LDFLAGS when linking in makefile (report by
Rajeev V Pillai).
The makefile uses LDFLAGS by this route:
LDFLAGS = @CFLAGS@ @LDFLAGS@
BUILD_LDFLAGS = @BUILD_LDFLAGS@
@ECHO_LD@$(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS)
-o makescan$x $(srcdir)/makescan.c
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature

