Displaying 1 result from an estimated 1 matches for "_rpmconfigdir".
2013 Jun 09
1
Force to strip all symbols from ELFs when using rpmbuild on CentOS
...pmbuild on CentOS? Seems that an out of the box
rpmbuild install only discards debugging symbols (strip -g).
That's the default configuration for %__os_install_post on CentOS, the
step in charge on stripping binaries:
$ rpmbuild --showrc
(..)
-14: __os_install_post
%{_rpmconfigdir}/brp-compress
%{_rpmconfigdir}/brp-strip
%{_rpmconfigdir}/brp-strip-static-archive
%{_rpmconfigdir}/brp-strip-comment-note
ELF binaries are stripped with /usr/lib/rpm/brp-strip, this script
explicitly calls to /usr/bin/strip with "-g" flag and discards only
d...