diff options
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-05-29 00:49:46 +0200 |
---|---|---|
committer | Andrew Fyfe <andrew@neptune-one.net> | 2007-05-29 00:52:02 +0200 |
commit | 2760828e9dff1250c1160b7df2f376107ffe134f (patch) | |
tree | ebbe9d9cf05d3d64afda6a8421bcc7d338c2169f /etc | |
parent | 124693af37f175703328be0b34a68ed3e50a6c64 (diff) | |
download | pacman-2760828e9dff1250c1160b7df2f376107ffe134f.tar.gz pacman-2760828e9dff1250c1160b7df2f376107ffe134f.tar.xz |
Add -mtune=generic to C{,XX}FLAGS in makepkg.conf
GCC-4.2.0 requires -mtune=generic to produce binaries optimized for
generic i686/x86_64. By default it tries to optimize a for the host
system building the package.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/makepkg.conf.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index 7ca1080e..6add6473 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -29,8 +29,8 @@ CHOST="@CHOST@" #-- 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" |