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

Etienne Millon me at emillon.org
Mon Sep 1 14:36:13 UTC 2014


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



More information about the Debian-med-packaging mailing list