[Lunar-commits]
CVS: theedge/var/lib/lunar/functions optimize.lunar, 1.50, 1.51
Jon South
striker at lunar-linux.org
Wed Jan 12 17:17:45 UTC 2005
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/tmp/cvs-serv31260
Modified Files:
optimize.lunar
Log Message:
adding opts for amd64's (note that this can only be used by manually changing /etc/lunar/local/optimizations )
Index: optimize.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/optimize.lunar,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- optimize.lunar 7 Oct 2004 14:40:27 -0000 1.50
+++ optimize.lunar 12 Jan 2005 17:17:42 -0000 1.51
@@ -255,6 +255,16 @@
BUILD="i686-pc-linux-gnu"
fi
;;
+ Athlon64) if [[ $GCCVER == "3" ]]; then
+ CFLAGS="$CFLAGS -mcpu=athlon64 -march=athlon64"
+ CXXFLAGS="$CXXFLAGS -mcpu=athlon64 -march=athlon64"
+ BUILD="i686-pc-linux-gnu"
+ else
+ CFLAGS="$CFLAGS -mcpu=i686 -march=i686"
+ CXXFLAGS="$CXXFLAGS -mcpu=i686 -march=i686"
+ BUILD="i686-pc-linux-gnu"
+ fi
+ ;;
# Begin PowerPC options
common) CFLAGS="$CFLAGS -mcpu=common"
More information about the Lunar-commits
mailing list