Re: 3.6% of heads up: Please correct your #includes or optflags use

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

 



On Friday 21 March 2008, Till Maas wrote:
> On Thu March 20 2008, Lubomir Kundrak wrote:
> > If you have more time, try to rebuild your package with
> > "-Werror-implicit-function-declaration" added to %optflags in your
> > ~/.rpmmacros to see if you rely on implicit declarations where you
> > should include the header files with macros and/or prototypes instead.
>
> Would you please post the exact line that needs to be added to .rpmmacros
> to achieve this?
> I tried
> %optflags %{optflags} -Werror-implicit-function-declaration
> and
> %optflags -Werror-implicit-function-declaration
> but both lines do not change the output of
> rpm --eval %optflags
> or
> rpm --eval %configure

optflags are set in rpmrc, and it doesn't seem possible to override them with 
rpmmacros.  Setting it in ~/.rpmrc works for me.  Look up the default for 
your architecture from /usr/lib/rpm/redhat/rpmrc, copy-paste that line into 
your ~/.rpmrc and add stuff you want to it.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux