From 98dddaf80526a5ed251fe2a8f5f26eebdab5c11a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sep 04 2012 17:35:34 +0000 Subject: - Incorporate ppc64p7 arch changes (#854250) --- diff --git a/glibc.spec b/glibc.spec index a7ecf1c..9f5f768 100644 --- a/glibc.spec +++ b/glibc.spec @@ -16,10 +16,10 @@ %else %define buildpower6 0 %endif -%define rtkaioarches %{ix86} x86_64 ppc ppc64 s390 s390x -%define biarcharches %{ix86} x86_64 ppc ppc64 s390 s390x +%define rtkaioarches %{ix86} x86_64 ppc %{power64} s390 s390x +%define biarcharches %{ix86} x86_64 ppc %{power64} s390 s390x %define debuginfocommonarches %{biarcharches} alpha alphaev6 -%define multiarcharches ppc ppc64 %{ix86} x86_64 %{sparc} +%define multiarcharches ppc %{power64} %{ix86} x86_64 %{sparc} %define systemtaparches %{ix86} x86_64 # Remove -s to get verbose output. %define silentrules PARALLELMFLAGS=-s @@ -227,9 +227,12 @@ Conflicts: kernel < %{enablekernel} %ifarch %{arm} %define target %{_target_cpu}-redhat-linuxeabi %endif +%ifarch %{power64} +%define target ppc64-redhat-linux +%endif %ifarch %{multiarcharches} # Need STT_IFUNC support -%ifarch ppc ppc64 +%ifarch ppc %{power64} BuildRequires: binutils >= 2.20.51.0.2 Conflicts: binutils < 2.20.51.0.2 %else @@ -531,7 +534,7 @@ BuildFlags="-mcpu=niagara -mvis -fcall-used-g6" GCC="gcc -m64" GXX="g++ -m64" %endif -%ifarch ppc64 +%ifarch %{power64} BuildFlags="-mno-minimal-toc" GCC="gcc -m64" GXX="g++ -m64" @@ -574,6 +577,9 @@ configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables" %ifarch %{systemtaparches} --enable-systemtap \ %endif +%ifarch ppc64p7 + --with-cpu=power7 \ +%endif --disable-profile --enable-nss-crypt || { cat config.log; false; } @@ -1343,6 +1349,9 @@ rm -f *.filelist* %endif %changelog +* Tue Sep 4 2012 Jeff Law - 2.16-12 + - Incorporate ppc64p7 arch changes (#854250) + * Thu Aug 30 2012 Jeff Law - 2.16.90-7 - Resync with upstream sources.