Josh Boyer <jwbo...@gmail.com> wrote:

> You might also want to redefine %{__strip} to the appropriate
> cross-strip utility, or /bin/true.  Something like:
> 
> %define debug_package %{nil}
> %define __strip /bin/true

Ah, so I can make a shell script to apply the appropriate strip binary...

Jan Kratochvil <jan.kratoch...@redhat.com> wrote:

> rpmbuild uses eu-strip, not strip.  Therefore elfutils, not binutils.
> See: /usr/lib/rpm/find-debuginfo.sh

Interesting:

+ eu-strip -g 
/data/cross-gcc/cross-gcc/rpmbuild/BUILDROOT/cross-gcc-4.6.2-1.fc16.1.x86_64/usr/lib64/gcc/powerpc64-linux-gnu/4.6.2/libgcov.a
/data/cross-gcc/cross-gcc/rpmbuild/BUILDROOT/cross-gcc-4.6.2-1.fc16.1.x86_64/strip:
 line 9: 28521 Segmentation fault      eu-strip $*

David
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to