On Mon, Mar 19, 2012 at 05:17:27PM +0100, Simon Ruderich wrote:
> Package: lynx-cur
> Version: 2.8.8dev.12-1
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
> The LDFLAGS hardening flags are missing for makeuctb because the
> build system ignores them.

makeuctb is treated specially because lynx can be cross-compiled.
Its makefile rules don't use LDFLAGS (or CFLAGS or CPPFLAGS or LIBS)
for that reason.

The appropriate patch would modify the rules file to set the BUILD_LDFLAGS
variable (which is done via a configure option).

> -     $(BUILD_CC) $(CC_OPTS) $(BUILD_LDFLAGS) -o $@ $(OBJS) $(INTLLIB) 
> $(BUILD_LIBS)
> +     $(BUILD_CC) $(CC_OPTS) $(LDFLAGS) $(BUILD_LDFLAGS) -o $@ $(OBJS) 
> $(INTLLIB) $(BUILD_LIBS)

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to