nixpkgs/pkgs/development/libraries/libcamera
Sergei Trofimovich a3c00da983 libcamera: disable blanket -Werror
`-Werror` flag usually causes build failures due to minor changes in
compiler versions. They might be useful for developers themselves but
are rarely useful for distributions.

For example right now `libcamera` fails to compile on `gcc-13` due to a
`gcc` infelicity: https://gcc.gnu.org/PR107488

While this concrete instance is a compiler bug generally `-Werror` makes
users' lives harder. Specific `-Werror=<foo>` are better way to prevent
certain classes of bugs.

The change removes planket `-Werror` with `-Dwerror=false` flag.
2022-11-02 07:28:23 +00:00
..
default.nix libcamera: disable blanket -Werror 2022-11-02 07:28:23 +00:00