On 01/03/2014 11:06 AM, T o n g wrote:
> Hi, 
> 
> I'm trying to convert zh-autoconvert from pre-dh to using the dh for the 
> making. 
> I don't know how to fix the following problems:
> 
> W: zh-autoconvert: hardening-no-relro usr/bin/autogb

To fix this one, you need to add $CPPFLAGS and $LDFLAGS to your linker command 
line in your Makefile.

> autogb:autogb.c  hzlib
>         $(CC) $(CFLAG) $(LIBS) autogb.c -lhz -o autogb
> autogb-static:autogb.c  hzlib
>         $(CC) $(CFLAG) autogb.c lib/libhz.a -o autogb

autogb:autogb.c  hzlib
        $(CC) $(CPPFLAGS) $(CFLAG) $(LDFLAGS) $(LIBS) autogb.c -lhz -o autogb
autogb-static:autogb.c  hzlib
        $(CC) $(CPPFLAGS) $(CFLAG) $(LDFLAGS) autogb.c lib/libhz.a -o autogb

-- 
Stephen M. Webb  <stephen.w...@bregmasoft.ca>


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52c6e682.40...@bregmasoft.ca

Reply via email to