Re: -g in RPM_OPT_FLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Schwendt wrote:

Why does rpmbuild compile with GCC option -g by default? (this is configured in /usr/lib/rpm/rpmrc)

Yep.


I've thought it is only enabled for beta versions and disabled
for final releases? Am I wrong?

I think it's being used for the "debuginfo" packages. I might need correction, but I believe that all binaries are built with debugging symbols, and then RPM runs a script to extract the debugging symbols, and packages them separately. This way, your binaries are stripped in the application package, and you also have the debugging symbols available in another package that you can install if you need to.







[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux