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

Re: hardening=+all caused CPPFLAGS missing (-D_FORTIFY_SOURCE=2)



On Wed, Nov 04, 2020 at 10:28:04PM -0500, Tong Sun wrote:
> Hi,
> 
> I used
> 
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> 
> to fix the hardening issue, but it yields the following error from blhc:
> 
> CPPFLAGS missing (-D_FORTIFY_SOURCE=2)
> 
> See https://salsa.debian.org/debian/shc/-/jobs/1126952
> 
> I've tried some "solutions" that I found from the internet but nothing worked.
> 
> Anyone know how to fix this please?
Remove "export CPPFLAGS = " from debian/rules.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: