On Wed, Sep 28, 2022 at 3:24 AM Dominique MARTINET <[email protected]> wrote: > ... > Ugh, this is going to be a massive headache... > Other distributions I've worked with (e.g. nixos) have a wrapper for gcc > and clang that just enforce the flags they want the distro to be built > with -- I don't think debian has anything like that, would that be > easier to work with? My line of thinking is that there will only be a > single place to fix instead of configure/cmake/meson and all hand-made > build scripts that exist around here.
Debian has dpkg-buildflags . Discussions about it show up when discussing hardening, like [0]. [0] https://wiki.debian.org/Hardening#dpkg-buildflags Jeff

