The final values of CFLAGS/LDFLAGS/… are set (as shell variables) by the
%configure macro. There is no other immediately obvious way to get
those definitions. This means that if you can't use %configure for some
reason, you are out of luck.
In this situation, this still works:
%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?
Should we introduce a %setup_cflags macro to make this more explicit?
Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx