This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/5] Avoid build multiarch if compiler warns about mismatched alias
On 12/10/2017 18:52, Joseph Myers wrote:
> On Thu, 12 Oct 2017, Adhemerval Zanella wrote:
>
>> + if test x"$libc_cv_gcc_incompatible_alias" == xyes &&
>> + test x"$enable_werror" == xyes; then
>> + AC_MSG_WARN([gcc emits a warning for alias between functions of incompatible types
>> +and -Werror is enabled. Multi-arch is disabled. ])
>> + multi_arch=no
>
> I don't think --disable-werror should ever affect how or whether glibc
> builds as multi-arch.
>
Right, I will remove the 'enable_werror' condition to disable multi-arch.
Are you ok with the rest of the patch?