Skip to content

Commit

Permalink
Add i486 conditionals to spec file.
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Munk <carsten.munk@gmail.com>
  • Loading branch information
stskeeps committed Oct 15, 2011
1 parent 1f9fe09 commit 7853568
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions glibc.changes
@@ -1,3 +1,6 @@
* Sat Sep 24 2011 Alistair Buxton <a.j.buxton@gmail.com> - 2.13
- Add i486 conditionals to spec file.

* Thu Sep 15 2011 Carsten Munk <carsten@maemo.org> - 2.13
- meego -> %{_vendor}

Expand Down
8 changes: 8 additions & 0 deletions glibc.spec
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 7853568

Please sign in to comment.