From a7e610c37d002bf170231ba2619e08562cd5a29e Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 13 Feb 2007 01:25:26 +0000 Subject: Changed "MARCHFLAG" to "ARCHSWITCH" as the name was confusing (it's not a FLAG and not always MARCH). Also changes makepkg.conf.in to not have commented -mcpu lines (due to the above), but to have a comment about the differences in -march and -mcpu --- etc/makepkg.conf.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'etc') diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index b5425b26..e9043ed3 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -19,11 +19,10 @@ CARCH="@CARCH@" CHOST="@CHOST@" #-- Exclusive: will only run on @CARCHFLAGS@ -CFLAGS="-@MARCHFLAG@=@CARCHFLAGS@ -O2 -pipe" -CXXFLAGS="-@MARCHFLAG@=@CARCHFLAGS@ -O2 -pipe" -#-- Optimized: will run on any x86, but optimized for i686 -#CFLAGS="-mcpu=i686 -O2 -pipe" -#CXXFLAGS="-mcpu=i686 -O2 -pipe" +# -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" #-- Make Flags: change this for DistCC/SMP systems #MAKEFLAGS="-j2" -- cgit v1.2.3-2-g168b