[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please help fix lintian hardening-no-relro problem



On Mon, 25 Aug 2014 13:56:29 +0600, Andrey Rahmatullin wrote:

>> Please help me fix the lintian "hardening-no-relro" problem. My code is
>> at https://github.com/suntong001/histring (it is *very* small).
> The proper way is just to bump debian/compat to 9.
> 
>> I tried to ...
>>   +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk
>>   +CFLAGS += -Wextra +
>>    all: histring
>> 
>>    histring: histring.c getopt.c getopt1.c getopt.h
> These lines are for debian/rules, not for the upstream Makefile (they
> are unnecessary when using dh(1) with compat 9 though).

I bumped up the compat level to 9, 
https://github.com/suntong001/histring/commits/master
https://github.com/suntong001/histring/
commit/6708b109133d63fec73f8113b8b644390adfeb4e
but am still getting the "hardening-no-relro" problem.

The build environment is latest sid. Is there anything else? 

Can somebody help please? Thanks!




Reply to: