How to prevent a binary from being stripped by rpmbuild?

Josh Boyer jwboyer at
Sat Dec 10 12:20:37 UTC 2011

On Sat, Dec 10, 2011 at 4:52 AM, Jan Kratochvil
<jan.kratochvil at> wrote:
> On Sat, 10 Dec 2011 01:32:01 +0100, David Howells wrote:
>> Thus the strip program used (from
>> the wrong binutils) appears to corrupt the binary.
> rpmbuild uses eu-strip, not strip.  Therefore elfutils, not binutils.
> See: /usr/lib/rpm/

That's if debuginfo packages are enabled.  If they aren't it uses
plain strip afaik.


More information about the devel mailing list