[pkg-bacula-devel] Silencing the build log scanner

Carsten Leonhardt leo at debian.org
Wed Nov 14 10:31:46 GMT 2018


Sven Hartge <sven at svenhartge.de> writes:

> About that part: I tried several iterations of manually setting CFLAGS
> and CPPFLAGS (which cmake does not honor), adding those changes to the
> hardening patch to add the flags to QMAKE_CFLAGS and QMAKE_CPPFLAGS but
> nothing stuck. I am totally at loss, where the flags present come from
> and why it is seemingly not possible to override them.

I've added "debug tags" (XXX_CFLAGS_XXX and so on) to the
enable-hardening-for-bat patch. The compile failed of course, but showed
me what was added to the command line when compiling. Where blhc expects
CPPFLAGS, only CFLAGS are added. I think we need some combination of the
qmake and cmake notes from the hardening wiki page. I'm testing how to
achieve that.

 - Carsten



More information about the pkg-bacula-devel mailing list