mailinglists(a)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