Re: Do not use -Werror by default in your modules without joining #testable



On Sun, Apr 02, 2017 at 06:22:07PM +0100, Emmanuele Bassi wrote:
On 2 April 2017 at 18:16, Michael Catanzaro <mcatanzaro gnome org> wrote:
On Sun, 2017-04-02 at 15:59 +0100, Emmanuele Bassi wrote:
Adding:

  disable_Werror = False

to your jhbuildrc should do the trick.

Ah, but nobody wants to do that for all modules locally... I only want
it for Epiphany.

Adding this:

```
module_autogenargs['epiphany'] = '--disable-Werror'
```

should work, assuming Epiphany uses the m4 macros that add `--disable-Werror`.

So, --disable-Werror for all modules, except epiphany.

Maybe this works:
module_autogenargs['epiphany'] = '--enable-Werror'

but if the command line contains both --disable-Werror (because of
Jhbuild defaults) and --enable-Werror, I don't know how it'll behave.

Or this:
module_makeargs['epiphany'] = 'CFLAGS="-Werror"'

?

--
Sébastien


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]