Commit c2ccb163 authored by Committed by Olivier Crête
build: Don’t unconditionally enable -Werror for non-release builds
Do not unconditionally enable -Werror, since that breaks the build for people who have stricter compilation warnings enabled. Instead, add an --enable-compile-warnings configure flag which enables -Werror when passed as --enable-compile-warnings=error. This mimics the flag in gnome-common, for consistency. But we enable errors by default on non-released versions.
Showing with 35 additions and 18 deletions