diff --git a/glibc.changes b/glibc.changes index b1e1d90..da01aa0 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,6 +1,7 @@ * Sat Dec 13 2014 Carsten Munk - 2.19 - Disable special -march=i486 for glibc - Use correct release. Release is mungled on OBS +- Build for i686 for accelerated functions goodness * Fri Dec 5 2014 Davide Bettio - 2.19 - Upgrade to eglibc_2.19-0ubuntu6.4 (security fixes) diff --git a/glibc.spec b/glibc.spec index 06e3fcd..34b333d 100644 --- a/glibc.spec +++ b/glibc.spec @@ -82,8 +82,12 @@ BuildRequires: gcc >= 3.2 %ifarch i386 %define nptl_target_cpu i486 %else +%ifarch i486 +%define nptl_target_cpu i686 +%else %define nptl_target_cpu %{_target_cpu} %endif +%endif # Need AS_NEEDED directive # Need --hash-style=* support