Re: Best practices for getting CFLAGS/LDFLAGS etc.

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

 



On Mon, 02 Jan 2017 15:10:26 +0100, Pavel Raiskup wrote:

> > 
> > %global %_configure :
> > %configure
> > 
> > As a result, %configure tries to run “:” instead of “./configure”, which 
> > is a NOP, and only the shell variable initialization remains.
> > 
> > Is this the recommend way to initialize the compiler flags?  
> 
> Meh, it would be hard to believe this is prefered way... at least because there
> are default options like --prefix=/usr in %configure.

Note that

  %configure || :

is something some reviewers have been recommending for some time,
because it is a cheap and very convenient way to get the env definitions
and exports. The parameters passed to the configure script are irrelevant
when there is no configure script.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[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