Re: -g in RPM_OPT_FLAGS

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

 



Michael Schwendt wrote:

Yes, I assumed someone would point me back to that debuginfo stuff. It is mentioned in the release notes and how to turn this off has been mentioned on this list before. My ~/.rpmmacros file has the necessary line added as a comment already.

The macro is only required if you don't want to build the debuginfo packages. You will have to set the optimization flags separately.


The solution is here somewhere. What I'm seeing is a non-root rpmbuild
environment that messes up the debuginfo macros and everything else that is
different compared with older versions of the RPM package. I don't get any
debuginfo packages at all.

No, you wouldn't if you add the macro mentioned in the release notes to your rpmrc. Without adding that macro, I get debuginfo packages.


:) I just get ordinary packages which contain
binaries and object files with debug info within and which are not stripped
fully.

Either remove that macro, or redefine the optimization flags.







[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