- Explicitly set -mcpu/-mtune for ppc64p7 and ppc64le to override rpm defaults

This commit is contained in:
Dan Horák 2014-12-10 17:53:28 +01:00
parent 226d76f65b
commit 3cc8292af7
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config
Version: 26
Version: 27
Release: 1%{?dist}
# No version specified.
License: GPL+
@ -135,6 +135,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
%{_rpmconfigdir}/macros.d/macros.kmp
%changelog
* Wed Dec 10 2014 Dan Horák <dan[at]danny.cz> - 27-1
- Explicitly set -mcpu/-mtune for ppc64p7 and ppc64le to override rpm defaults
* Mon Sep 22 2014 Panu Matilainen <pmatilai@redhat.com> - 26-1
- Gnat macros are now in a package of their own (#1133632)

3
rpmrc
View File

@ -28,7 +28,8 @@ optflags: ppc %{__global_cflags} -m32
optflags: ppciseries %{__global_cflags} -m32
optflags: ppcpseries %{__global_cflags} -m32
optflags: ppc64 %{__global_cflags} -m64
optflags: ppc64le %{__global_cflags} -m64
optflags: ppc64p7 %{__global_cflags} -m64 -O3 -mcpu=power7 -mtune=power7
optflags: ppc64le %{__global_cflags} -m64 -mcpu=power7 -mtune=power8
optflags: ppc64iseries %{__global_cflags} -m64
optflags: ppc64pseries %{__global_cflags} -m64
optflags: ppc8260 %{__global_cflags} -m32