Displaying 2 results from an estimated 2 matches for "dpkg_export_buildflags".
2018 Mar 30
2
debian lintian warn: hardening-no-fortify-functions
...b/dovecot/script-login
I: dovecot-core: hardening-no-fortify-functions usr/lib/dovecot/xml2text
As you may note, not all binaries are affected. doveadm, doveconf or dovecot aren't for example.
My (simplyfied) debian/rules:
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_DH_STRIP_ARGS = --dbg-package=dovecot-core-dbg
This result in that call to configure:
CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=....
2018 Mar 30
0
debian lintian warn: hardening-no-fortify-functions
...hardening-no-fortify-functions usr/lib/dovecot/xml2text
>
> As you may note, not all binaries are affected. doveadm, doveconf or dovecot aren't for example.
>
> My (simplyfied) debian/rules:
> #!/usr/bin/make -f
>
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> DPKG_EXPORT_BUILDFLAGS = 1
> include /usr/share/dpkg/buildflags.mk
>
> include /usr/share/cdbs/1/rules/debhelper.mk
> include /usr/share/cdbs/1/class/autotools.mk
>
> DEB_DH_STRIP_ARGS = --dbg-package=dovecot-core-dbg
>
> This result in that call to configure:
>
> CFLAGS="-g -O2...