[CentOS] Force to strip all symbols from ELFs when using rpmbuild on CentOS

Santi Saez santi at woop.es
Mon Jun 10 06:21:49 UTC 2013


On 09/06/13 23:47, Bob Marcan wrote:

> You can avoid generating "-debug" packages with:
> %define debug_package %{nil}

If %__debug_packageis not defined %__debug_install_post step will be 
skipped and "find-debuginfo.sh" script will not be executed: that's the 
script in charge of executing "strip -s" to remove all symbols, thanks 
anyway for the advice.

Santi Saez



More information about the CentOS mailing list