diff --git a/glibc.changes b/glibc.changes index 0608777..25c1f18 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,6 @@ +* Sat Sep 24 2011 Alistair Buxton - 2.13 +- Add i486 conditionals to spec file. + * Thu Sep 15 2011 Carsten Munk - 2.13 - meego -> %{_vendor} diff --git a/glibc.spec b/glibc.spec index 17db120..5649a18 100644 --- a/glibc.spec +++ b/glibc.spec @@ -58,8 +58,12 @@ BuildRequires: gawk, util-linux BuildRequires: gcc >= 3.2 %define enablekernel 2.6.25 %ifarch %{ix86} +%ifarch i486 +%define _target_cpu i486 +%else %define _target_cpu i686 %endif +%endif %ifarch i386 %define nptl_target_cpu i486 %else @@ -206,8 +210,12 @@ GCC=gcc GXX=g++ echo %{ix86} %ifarch %{ix86} +%ifarch i486 +BuildFlags="-march=i486" +%else BuildFlags="-march=core2 -mtune=atom" %endif +%endif %ifnarch %{arm} BuildFlags="$BuildFlags -fasynchronous-unwind-tables"