gcc cross-compiler for mipsel

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Wed Jul 6 01:15:54 UTC 2005


On Wed, 2005-07-06 at 02:57 +0200, Ralf Corsepius wrote:
> On Tue, 2005-07-05 at 20:38 -0400, Ignacio Vazquez-Abrams wrote:
> > FTR, you can define %__strip to change what you use to strip.
> 
> /usr/lib/rpm/brp-strip-static-archive has "strip" hard-coded into it:
> 
> > 
> >        sed -n -e 's/^\(.*\):[  ]*current ar archive/\1/p'`; do
> >        strip -g $f
> >done

/usr/lib/rpm/redhat/brp-strip-static-archive takes the command as the
first argument:

> [ -z "$STRIP" -a -n "$1" ] && STRIP="$1"
> [ -z "$STRIP" ] && STRIP=strip
 ...
>         $STRIP -g $f

And in /usr/lib/rpm/redhat/macros:

> %__os_install_post    \
>     /usr/lib/rpm/redhat/brp-compress \
>     /usr/lib/rpm/redhat/brp-strip %{__strip} \
>     /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \
>     /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \
> %{nil}

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20050705/8ad2a4f9/attachment-0002.bin 


More information about the devel mailing list