Re: Please help fix lintian hardening-no-relro problem
On Thu, Aug 28, 2014 at 12:50:23AM +0000, T o n g 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?
Please show the build log or publish a source package so that other people
could reproduce the build.
--
WBR, wRAR
Reply to: