mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 19:20:35 +01:00
clang does not exit with error when it is called with an
unrecognized (warning) option. Instead it just prints
a warning that makes the configure script believe the
warning is supported. Later, during build we might pass
-Werror, which causes clang to fail due to unrecognized
arguments.
Fix the script to detect compiler warnings by passing
'-Werror=unknown-warning-option', which lets clang fail too.
Signed-off-by: Thomas Haller <thaller@redhat.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ax_lib_readline.m4 | ||
| compiler_warnings.m4 | ||
| gnome-code-coverage.m4 | ||
| introspection.m4 | ||
| vapigen.m4 | ||