On Sunday 06 December 2009 09:03:15 pm Kevin Kofler wrote:
Conrad Meyer wrote:
> Also, SDCC currently does not build (clarification: the software builds
> fine. rpmbuild is choking on non-native ar files)
Try this:
%define __os_install_post %(echo '%{__os_install_post}' | sed -e
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g') (It's
working fine in tigcc.spec to prevent tigcc.a from being corrupted.)
Kevin Kofler
Ah, since my earlier email I've fixed the sdcc package under advice from
another cross lib maintainer[0]. msp430-libc (and now sdcc) just set
__os_install_post to brp-compress; I guess the advantage of sed-ing out only
the strip-static-archive is that the native binaries get stripped. I'll try
this for sdcc.
By the way, perhaps that %define should be changed to %global?
[0]:
http://article.gmane.org/gmane.linux.redhat.fedora.devel/125372
Thanks,
--
Conrad Meyer <cemeyer(a)u.washington.edu>