strip in rpmbuild
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Sat Jun 24 21:27:05 UTC 2006
mailinglists at erwinrol.com (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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060624/c5827f98/attachment.sig>
More information about the fedora-devel-list
mailing list