Package: dpkg-dev Version: 1.22.6 Dear dpkg maintaner,
during native builds, dpkg-buildflags returns an empty CFLAGS_FOR_BUILD. The same happens for CPPFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD and other *_FOR_BUILD variables.
Given that CFLAGS_FOR_BUILD is supposed to be used instead of CFLAGS (not _in addition to_ it), dpkg-buildflags should set CFLAGS_FOR_BUILD to CFLAGS, so that the same set of, say, hardening flags will be used.
Regards, -- Gioele Barabucci