- Add optflags stack protector override for AArch64 (#909788)
This commit is contained in:
parent
4481ddfec4
commit
4b27de8d70
13
redhat-rpm-config-9.1.0-aarch64.patch
Normal file
13
redhat-rpm-config-9.1.0-aarch64.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/rpmrc b/rpmrc
|
||||||
|
index 9127200..fe2f84b 100644
|
||||||
|
--- a/rpmrc
|
||||||
|
+++ b/rpmrc
|
||||||
|
@@ -64,6 +64,8 @@ optflags: hades %{__global_cflags}
|
||||||
|
optflags: s390 %{__global_cflags} -m31 -march=z9-109 -mtune=z10
|
||||||
|
optflags: s390x %{__global_cflags} -m64 -march=z9-109 -mtune=z10
|
||||||
|
|
||||||
|
+optflags: aarch64 %{__global_cflags} -fno-stack-protector
|
||||||
|
+
|
||||||
|
# set build arch to fedora buildarches on hardware capable of running it
|
||||||
|
# saves having to do rpmbuild --target=
|
||||||
|
buildarchtranslate: athlon: i686
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 9.1.0
|
Version: 9.1.0
|
||||||
Release: 42%{?dist}
|
Release: 43%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
@ -53,6 +53,8 @@ Patch17: redhat-rpm-config-9.1.0-java-repack-spaces-in-filenames.patch
|
|||||||
Patch18: redhat-rpm-config-9.1.0-record-switches.patch
|
Patch18: redhat-rpm-config-9.1.0-record-switches.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=951442
|
# https://bugzilla.redhat.com/show_bug.cgi?id=951442
|
||||||
Patch19: redhat-rpm-config-9.1.0-configfoo.patch
|
Patch19: redhat-rpm-config-9.1.0-configfoo.patch
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=909788
|
||||||
|
Patch20: redhat-rpm-config-9.1.0-aarch64.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: perl-srpm-macros
|
Requires: perl-srpm-macros
|
||||||
@ -86,6 +88,7 @@ Red Hat specific rpm configuration files.
|
|||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
%patch19 -p1
|
%patch19 -p1
|
||||||
|
%patch20 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -107,6 +110,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_sysconfdir}/rpm/*
|
%{_sysconfdir}/rpm/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 23 2013 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-43
|
||||||
|
- Add optflags stack protector override for AArch64 (#909788)
|
||||||
|
|
||||||
* Mon Apr 22 2013 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-42
|
* Mon Apr 22 2013 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-42
|
||||||
- Switch back to manual config.guess/sub copies for reproducability
|
- Switch back to manual config.guess/sub copies for reproducability
|
||||||
- Replace config.guess/sub from %%configure again (#951442)
|
- Replace config.guess/sub from %%configure again (#951442)
|
||||||
|
Loading…
Reference in New Issue
Block a user