[Swan-dev] odd error only on ppc64 on rhel6

Tuomo Soini tis at foobar.fi
Tue Jun 18 14:39:43 UTC 2019


On Tue, 18 Jun 2019 15:34:00 +0200
Antony Antony <antony at phenome.org> wrote:

> so based on this long discussions the final proposal is:
> 
> diff --git a/mk/userland-cflags.mk b/mk/userland-cflags.mk
> -WERROR_CFLAGS?=-Werror
> +WERROR_CFLAGS?=-Werror -Wno-missing-field-initializers
> 
> As long as we want to support CentOS6 or older compilers we should
> add this. I know it works on CentOS 6 and clang. Currently CentOS 6
> is broken, Travis tests, due to the fowling error. 
> 
> Tumo's work around is WERROR_CFLAGS=''  He is pushing this for
> travis, CentOS 6 testing too. I hopping there is a better fix.

No. WERROR_CFLAGS= is not needed on spec because
 -Wno-missing-field-initializers was already there, in USER_CFLAGS


-- 
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <https://foobar.fi/>


More information about the Swan-dev mailing list