20 May
2007
20 May
'07
3:43 p.m.
we have to add -mtune=generic to our makepkg.conf from gcc4.2 on. this should do it: --- etc/makepkg.conf.in 2007-03-14 23:05:47.000000000 +0000 +++ etc/makepkg.conf.in.new 2007-05-20 15:24:27.000000000 +0000 @@ -21,8 +21,8 @@ #-- Exclusive: will only run on @CARCHFLAGS@ # -mtune builds exclusively for an architecture # -mcpu optimizes for an architecture, but builds for the whole processor family -CFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -O2 -pipe" -CXXFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -O2 -pipe" +CFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -mtune=generic -O2 -pipe" +CXXFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -mtune=generic -O2 -pipe" #-- Make Flags: change this for DistCC/SMP systems #MAKEFLAGS="-j2"