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

Re: optflags problem



On Thu, May 02, 2002 at 10:51:55AM -0400, Matthew R. MacIntyre wrote:
> Hi,
> 
> Can someone explain why this doesn't work?  I am expecting to get back "-bork"
> for %optflags when I do the following:
> 
> cd /tmp
> echo "macrofiles: ./macros" > rpmrc
> echo "%optflags -bork" > macros
> rpm --rcfile ./rpmrc --eval "%optflags"
> 
> This gives me back "-O2" as the answer.  What is wrong here?

Broken (actually never completely implemented) in rpm-4.0.[34].

Use the rpmrc configuration in /etc/rpmrc instead. For example, putting
	optflags: i386 -O2 -march=i386 -mcpu=i686 -g
adds -g debugging. Or just edit /usr/lib/rpm/rpmrc directly,
not hard.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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