Re: -g in RPM_OPT_FLAGS

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 03 Apr 2003 19:50:50 -0800, Gordon Messmer 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.

As mentioned above, I added the definition as a _comment_ only.

The solution to my problem was posted in
Message-Id: <20030404003021.1fb488ab.ms0301rh@xxxxxxxx>

   "My ~/.rpmrc included /usr/lib/rpm/rpmrc instead of
    /usr/lib/rpm/redhat/rpmrc"

With earlier versions of the distribution, /usr/lib/rpm/redhat/rpmrc
was not available. But the "debuginfo" stuff is defined in there.
That's why I got "-g", but not debuginfo support.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+jWdv0iMVcrivHFQRAsroAJ9RWyLhnq2X/oZQVZBoyWnJSYzEiACeOXot
o8NOiTCDFnOtDwKIkTXOrQ8=
=9l2o
-----END PGP SIGNATURE-----





[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