mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 09:21:53 -05:00
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>
This commit is contained in:
parent
124693af37
commit
2760828e9d
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user