Re: Heads up: libpng bumped to 1.5.x in rawhide

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

 



On Mon, 07 Nov 2011 17:35:53 +0200, VS (Ville) 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:
> 
>     %build
>     export LDFLAGS="$RPM_LD_FLAGS -Wl,--as-needed"
>     %configure [...]

Good info.

That's based on some background:

RPM_LD_FLAGS="%{?__global_ldflags}"

$ rpm --eval %__global_ldflags
-Wl,-z,relro 

Aha! :)
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[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