summaryrefslogtreecommitdiffstats
path: root/etc/makepkg.conf.in
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-13 02:25:26 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-13 02:25:26 +0100
commita7e610c37d002bf170231ba2619e08562cd5a29e (patch)
treebb88621c5bcbf940374ea895636bfe40861a5dbe /etc/makepkg.conf.in
parent4d494a39e710fdcb749083593cef4c1504407f5c (diff)
downloadpacman-a7e610c37d002bf170231ba2619e08562cd5a29e.tar.gz
pacman-a7e610c37d002bf170231ba2619e08562cd5a29e.tar.xz
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
Diffstat (limited to 'etc/makepkg.conf.in')
-rw-r--r--etc/makepkg.conf.in9
1 files changed, 4 insertions, 5 deletions
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"