- switch to -mcpu=power8 for ppc64le default compiler flags

This commit is contained in:
Dan Hor?k 2016-02-02 08:41:26 +01:00
parent 1e513b70c5
commit 945c0e15a3
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 39 Version: 40
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -137,6 +137,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Tue Feb 02 2016 Dan Horák <dan[at]danny.cz> 40-1
- switch to -mcpu=power8 for ppc64le default compiler flags
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> 39-1 * Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> 39-1
- Add Requires: python-srpm-macros - Add Requires: python-srpm-macros

2
rpmrc
View File

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