Heads up: libpng bumped to 1.5.x in rawhide

Ville Skyttä ville.skytta at iki.fi
Mon Nov 7 15:35:53 UTC 2011

On 11/07/2011 01:57 PM, Michael Schwendt wrote:

>  * The %configure macro (at least since F-16) does
>      LDFLAGS="${LDFLAGS:--Wl,-z,relro }"; export LDFLAGS; 
>    so one cannot simply export a customized $LDFLAGS in the spec file
>    without disturbing the macro.

That's what I meant by "(in addition to RPM_LD_FLAGS)" in my first mail
to this thread.  It should be done for example like this:

    export LDFLAGS="$RPM_LD_FLAGS -Wl,--as-needed"
    %configure [...]

More information about the devel mailing list