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

Re: [Help] Re: Bug#759978: seqan: FTBFS: c++: error: unrecognized command line option '-strong'



Hi Andreas,

debian/rules does the following thing:

    export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')

This changes -fstack-protector-strong into -strong (which does not
exist).

You can do the same in a future-proof way with something like:

    export DEB_BUILD_MAINT_OPTIONS = hardening=-stackprotector

HTH,

-- 
Etienne Millon


Reply to: