View Single Post

   
  #4 (permalink)  
Old 02-21-2008, 06:10 AM
=?iso-8859-1?Q?H=E5kon_A=2E_Hjortland?=
 
Posts: n/a
Default Re: openmotif switch set wrong

On 2004-01-12, PenguinsAnonymous@NotaChance.com <PenguinsAnonymous@NotaChance.com> wrote:
> during emerge of openmotif-2.1.30-r3 [...]
>
> gcc -mcpu=1 -O3 -pipe -I../../include
> [...]
> cc1: bad value (1) for -mcpu= switch
> [...]
> (my make.conf does not have this setting
> it is
> CFLAGS="-mcpu=i686 -03 -pipe"
> )


I had the same problem and posted some bugreports:

Why it breaks (for the curious):
http://bugs.motifzone.net/show_bug.cgi?id=1251
Short answer: Bug!

Quickfix:
http://bugs.gentoo.org/show_bug.cgi?id=38013
Short answer:
openmotif-2.1.30-r3.ebuild:
************************************************** **********
echo >>$cfg
echo >>$cfg "#undef i686"
echo >>$cfg "#undef OptimizedCDebugFlags"
************************************************** **********
You need to insert the second line.

--Håkon
Reply With Quote