Build flags: Switch to generic tuning on i686 (#1538693)
This matches what the gcc package already does by default.
This commit is contained in:
parent
a013956e4f
commit
6e5a75d61e
@ -231,7 +231,10 @@ tuning in the `gcc` package. These settings are:
|
|||||||
with other ARMv7-A implementations). `-mabi=aapcs-linux` switches to
|
with other ARMv7-A implementations). `-mabi=aapcs-linux` switches to
|
||||||
the AAPCS ABI for GNU/Linux.
|
the AAPCS ABI for GNU/Linux.
|
||||||
* **i686**: `-march=i686` is used to select a minmum support CPU level
|
* **i686**: `-march=i686` is used to select a minmum support CPU level
|
||||||
of i686 (corresponding to the Pentium Pro).
|
of i686 (corresponding to the Pentium Pro). `-mtune=generic` activates
|
||||||
|
tuning for a current blend of CPUs (under the assumption that most
|
||||||
|
users of i686 packages obtain them through an x86_64 installation
|
||||||
|
on current hardware).
|
||||||
* **ppc64le**: `-mcpu=power8 -mtune=power8` selects a minimum supported
|
* **ppc64le**: `-mcpu=power8 -mtune=power8` selects a minimum supported
|
||||||
CPU level of POWER8 (the first CPU with ppc64le support) and tunes
|
CPU level of POWER8 (the first CPU with ppc64le support) and tunes
|
||||||
for POWER8.
|
for POWER8.
|
||||||
|
@ -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: 84
|
Version: 85
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -157,6 +157,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
|||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 85-1
|
||||||
|
- Build flags: Switch to generic tuning on i686 (#1538693)
|
||||||
|
|
||||||
* Mon Jan 22 2018 Florian Weimer <fweimer@redhat.com> - 84-1
|
* Mon Jan 22 2018 Florian Weimer <fweimer@redhat.com> - 84-1
|
||||||
- Link with -z defs by default (#1535422)
|
- Link with -z defs by default (#1535422)
|
||||||
|
|
||||||
|
2
rpmrc
2
rpmrc
@ -3,7 +3,7 @@ include: /usr/lib/rpm/rpmrc
|
|||||||
optflags: i386 %{__global_compiler_flags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
optflags: i386 %{__global_compiler_flags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
optflags: i486 %{__global_compiler_flags} -m32 -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection
|
optflags: i486 %{__global_compiler_flags} -m32 -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
optflags: i586 %{__global_compiler_flags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
optflags: i586 %{__global_compiler_flags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
optflags: i686 %{__global_compiler_flags} -m32 -march=i686 -fasynchronous-unwind-tables -fstack-clash-protection
|
optflags: i686 %{__global_compiler_flags} -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
optflags: athlon %{__global_compiler_flags} -m32 -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection
|
optflags: athlon %{__global_compiler_flags} -m32 -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
optflags: ia64 %{__global_compiler_flags}
|
optflags: ia64 %{__global_compiler_flags}
|
||||||
optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
|
Loading…
Reference in New Issue
Block a user