Disable execstack for RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-06-22 22:42:50 +02:00
parent 84015e1c81
commit 2328baf7b0
Signed by: davidlt
GPG Key ID: 7108702C938B13C1

View File

@ -2,7 +2,7 @@
Name: hugs98
Version: 2006.09
Release: 30%{?dist}
Release: 30.0.riscv64%{?dist}
Summary: Haskell Interpreter
Group: Development/Languages
@ -26,7 +26,7 @@ BuildRequires: readline-devel
BuildRequires: xorg-x11-proto-devel
BuildRequires: openal-soft-devel
BuildRequires: freealut-devel
%ifnarch aarch64 ppc64le
%ifnarch aarch64 ppc64le riscv64
BuildRequires: /usr/bin/execstack
%endif
@ -128,7 +128,7 @@ make %{?_smp_mflags}
make DESTDIR=%{buildroot} install_all_but_docs
make -C docs DESTDIR=%{buildroot} install_man
%ifnarch aarch64 ppc64le
%ifnarch aarch64 ppc64le riscv64
execstack -s %{buildroot}%{_bindir}/{hugs,runhugs,ffihugs}
%endif
@ -211,6 +211,9 @@ fi
%changelog
* Fri Jun 22 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2006.09-30.0.riscv64
- Disable execstack for RISC-V (riscv64)
* Mon Feb 19 2018 Jens Petersen <petersen@redhat.com> - 2006.09-30
- BR gcc