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

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



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?


Reply to: