enable armv7hl with -O0 (#991929)

This commit is contained in:
Jens Petersen 2020-07-20 13:21:15 +08:00
parent 02a60d692c
commit 8b113d48b1
1 changed files with 7 additions and 3 deletions

View File

@ -17,7 +17,7 @@
Name: %{pkg_name}
Version: 2.6.1
# can only be reset when all subpkgs bumped
Release: 23%{?dist}
Release: 24%{?dist}
Summary: A dependently typed functional programming language and proof assistant
License: MIT and BSD
@ -79,8 +79,6 @@ BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-utf8-string-prof
# End cabal-rpm deps
BuildRequires: emacs(bin)
# https://bugzilla.redhat.com/show_bug.cgi?id=991929
ExcludeArch: %{arm}
# introduced for F23
Obsoletes: emacs-agda-el < 2.4.2.2-5
@ -182,6 +180,9 @@ cd -
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ifarch armv7hl
%define cabal_configure_options --ghc-options="-O0"
%endif
%ghc_lib_build
# End cabal-rpm build
@ -246,6 +247,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode
%changelog
* Mon Jul 20 2020 Jens Petersen <petersen@redhat.com> - 2.6.1-24
- enable armv7hl with -O0
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 2.6.1-23
- update to 2.6.1
- drop EdisonCore and EdisonAPI deps