Re: gcc cross-compiler for mipsel

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

 



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@xxxxxxxxxxxx>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[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