Package: dpkg-dev
Version: 1.16.1.2
Severity: wishlist

Hi Raphael,
I've started to submit patches to enable hardened build flags. After
having converted approx. 50 packages I've found the interface useful
and convenient, thanks for implementing it!

One recurring issue I found in many rules files is that they're
building with different optimization levels other than O2. In most
cases it's -O3 or -Os.

In such cases, maintainers have to query dpkg-buildflags and substitute
the output with the optimitation level of their choice.

It would be good if there were an option like --optimisation-level=3,
so that dpkg-builflags would e.g. emit CFLAGS as 
"-g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security"

Cheers,
        Moritz



-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to