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

Re: build of rpm fails



On Fri, Nov 24, 2006 at 02:51:54PM +0100, udovdh@xxxxxxxxx wrote 1.1K bytes in 30 lines about:
: No chance. This is a VIA C3 Nehemia CPU from a VIA EK8000 board.
: Maybe my .rpmrc matters?
: 
: optflags: i386 %{__global_cflags} -m32 -march=c3-2 -pipe
: -fomit-frame-pointer -ffast-math -finline-functions -mfpmath=sse,387

	Ahh.  The tor.spec overrides local optflags.  Comment out line
	33 in the tor.spec, which is:
	"%define optflags -march=%{target_cpu} -mtune=%{target_cpu} -O2"

	Let me know if this works.

-- 
Andrew
fortune: But what can you do with it?  -- ubiquitous cry from Linux-user partner.
(Submitted by Andy Pearce, ajp@xxxxxxxxxxxxxxxx)