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.