Skip to content
Commit 60d1df15 authored by Allison Karlitskaya's avatar Allison Karlitskaya
Browse files

config: add disable_Werror config option

Add a disable_Werror configuration option (default True) which causes
--disable-Werror to be passed to each automake build.

Support for this switch was recently added to AX_COMPILER_FLAGS as a way
to unconditionally disable all fatal warnings.  By default, -Werror is
enabled for builds done out of git (which is what jhbuild spends most of
its time doing).

The idea is to prevent -Werror from ruining the day for people who
simply want to use jhbuild as a mechanism to build the latest version of
GNOME, while allowing advanced users to re-enable the feature (and also
maintaining -Werror for those who do manual git checkouts).

In the case that the module doesn't know about this switch, it will be
safely ignored.
parent b3ccc33d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment