[Debian-med-packaging] Bug#752558: seqan: please use the standard dpkg-buildflags configuration interface

Romain Francoise rfrancoise at debian.org
Tue Jun 24 16:09:07 UTC 2014


Package: src:seqan
Version: 1.4.1-3
Severity: important
User: rfrancoise at debian.org
Usertags: ftbfs-sps

Your package uses the following snippet to remove the stack protector
flag from the default build flags:

| # Droping -fstack-protector flag helps **drastically** reducing memory
| # consumption when building the package!!!!
| export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')

The proper way to do this would be either:

1) export DEB_BUILD_MAINT_OPTIONS=hardening=-stackprotector

or

2) export DEB_CXXFLAGS_STRIP='-fstack-protector'

For more information about this, see:

 https://lists.debian.org/debian-dpkg/2014/06/msg00031.html

Thanks,
-- 
Romain Francoise <rfrancoise at debian.org>
http://people.debian.org/~rfrancoise/



More information about the Debian-med-packaging mailing list