mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 04:10:14 +01:00
Since GCC 4.4, gcc does not warn about unknown -Wno-* flags. At
least, it does not warning unless another warning is raised as well
(https://gcc.gnu.org/wiki/FAQ#wnowarning).
We didn't notice up to now, because we only tested flags that GCC
actually supports.
Hack around this, by checking for the -W* counterpart instead.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ax_lib_readline.m4 | ||
| compiler_warnings.m4 | ||
| gnome-code-coverage.m4 | ||
| introspection.m4 | ||
| vapigen.m4 | ||