Make i686 the default x86 architecture, optimize for Atom CPU

- as per http://fedoraproject.org/wiki/Features/F12X86Support
- patch from Bill Nottingham
This commit is contained in:
Panu Matilainen 2010-01-22 15:15:22 +02:00
parent e2a80f379c
commit f9c0aca4ae

12
rpmrc
View File

@ -3,7 +3,7 @@ include: /usr/lib/rpm/rpmrc
optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
optflags: i486 %{__global_cflags} -m32 -march=i486 -fasynchronous-unwind-tables optflags: i486 %{__global_cflags} -m32 -march=i486 -fasynchronous-unwind-tables
optflags: i586 %{__global_cflags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables optflags: i586 %{__global_cflags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables
optflags: i686 %{__global_cflags} -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables optflags: i686 %{__global_cflags} -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
optflags: athlon %{__global_cflags} -m32 -march=athlon -fasynchronous-unwind-tables optflags: athlon %{__global_cflags} -m32 -march=athlon -fasynchronous-unwind-tables
optflags: ia64 %{__global_cflags} optflags: ia64 %{__global_cflags}
optflags: x86_64 %{__global_cflags} -m64 -mtune=generic optflags: x86_64 %{__global_cflags} -m64 -mtune=generic
@ -64,11 +64,11 @@ optflags: s390x %{__global_cflags} -m64 -march=z9-109 -mtune=z10
# set build arch to fedora buildarches on hardware capable of running it # set build arch to fedora buildarches on hardware capable of running it
# saves having to do rpmbuild --target= # saves having to do rpmbuild --target=
buildarchtranslate: athlon: i586 buildarchtranslate: athlon: i686
buildarchtranslate: geode: i586 buildarchtranslate: geode: i686
buildarchtranslate: pentium4: i586 buildarchtranslate: pentium4: i686
buildarchtranslate: pentium3: i586 buildarchtranslate: pentium3: i686
buildarchtranslate: i686: i586 buildarchtranslate: i686: i686
buildarchtranslate: i586: i586 buildarchtranslate: i586: i586
buildarchtranslate: sparcv9: sparcv9 buildarchtranslate: sparcv9: sparcv9