Re: strip in rpmbuild

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

 



mailinglists@xxxxxxxxxxxx (Erwin Rol) writes:

> The question is, how can i control what files are to be stripped and
> what "strip" to use ?

* | %global __strip /usr/<your-arch>/bin/strip

  should work

* you could try to inject something like

  | PATH=/usr/<cross-arch>/bin:$PATH

  e.g. at the end of %install (don't know whether that works; perhaps
  you have to play with %__spec_install_post). Using such a path will
  cover tools like objdump

* you should build your cross binutils with

  | --enable-targets=<cross-arch>,%_host

  to make the tools work with host binaries.





Enrico

Attachment: pgpQ3qyNoMXbT.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://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