redhat-rpm-config: Enable x86-64-v2 baseline for Clang/LLVM (#1890170)
Resolves: #1890170
This commit is contained in:
parent
5aaba902dd
commit
422e4af866
2
macros
2
macros
@ -133,7 +133,7 @@ print(result)
|
|||||||
|
|
||||||
# Architecture-specific support. Internal. Do not use directly.
|
# Architecture-specific support. Internal. Do not use directly.
|
||||||
|
|
||||||
%__cflags_arch_x86_64 %[0%{?rhel} >= 9 && "%{toolchain}" == "gcc" ? "-march=x86-64-v2" : ""]
|
%__cflags_arch_x86_64 %[0%{?rhel} >= 9 ? "-march=x86-64-v2" : ""]
|
||||||
|
|
||||||
# Also used for s390.
|
# Also used for s390.
|
||||||
%__cflags_arch_s390x %[0%{?rhel} >= 9 ? "-march=z14 -mtune=z15" : "-march=zEC12 -mtune=z13"]
|
%__cflags_arch_s390x %[0%{?rhel} >= 9 ? "-march=z14 -mtune=z15" : "-march=zEC12 -mtune=z13"]
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 187
|
Version: 188
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
|
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
|
||||||
@ -189,6 +189,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
|
|||||||
%doc buildflags.md
|
%doc buildflags.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 24 2021 Florian Weimer <fweimer@redhat.com> - 188-1
|
||||||
|
- redhat-rpm-config: Enable x86-64-v2 baseline for Clang/LLVM (#1890170)
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 187-2
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 187-2
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user