This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Build fails for: -Werror
- From: P J P <prasad at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 03 Mar 2010 18:10:31 +0530
- Subject: Re: Build fails for: -Werror
On Wed, 3 Mar 2010, Roland McGrath wrote:
> Well, that's rather odd, as of course it built fine in F-12 koji.
I git cloned it earlier today.
> But your make output shows that you got CFLAGS='-g -O2 -Wall -Wextra' from
> configure. You can't pass extra warning options in CFLAGS with elfutils.
> It already has plenty. If you want -g -O2, then just don't set CFLAGS and
> that's what you'll get by default anyway. If you want some particular -g
> or -O settings or other such things in CFLAGS, that's fine. But don't put
> -W* options in there.
Ah...okay.
Thank you.
--
Regards
- Prasad