enable armv7hl with -O0 (#1806116)
This commit is contained in:
parent
b43fe26aeb
commit
bbaf325555
14
hlint.spec
14
hlint.spec
@ -11,7 +11,7 @@
|
|||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 3.1.6
|
Version: 3.1.6
|
||||||
# can only be reset when all subpkgs bumped
|
# can only be reset when all subpkgs bumped
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Haskell source code suggestions
|
Summary: Haskell source code suggestions
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -64,9 +64,10 @@ BuildRequires: ghc-unix-prof
|
|||||||
# for ghc-lib-parser
|
# for ghc-lib-parser
|
||||||
BuildRequires: alex
|
BuildRequires: alex
|
||||||
BuildRequires: happy
|
BuildRequires: happy
|
||||||
|
# may require ghc-8.10 to build
|
||||||
# https://github.com/digital-asset/ghc-lib/issues/184 (s390x)
|
# https://github.com/digital-asset/ghc-lib/issues/184 (s390x)
|
||||||
# ghc-lib crashes on armv7hl
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1806109
|
||||||
ExcludeArch: armv7hl s390x
|
ExcludeArch: s390x
|
||||||
|
|
||||||
%description
|
%description
|
||||||
HLint gives suggestions on how to improve your source code.
|
HLint gives suggestions on how to improve your source code.
|
||||||
@ -139,6 +140,10 @@ This package provides the Haskell %{name} profiling library.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch armv7hl
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1806116
|
||||||
|
%define cabal_configure_options --ghc-options="-O0"
|
||||||
|
%endif
|
||||||
# Begin cabal-rpm build:
|
# Begin cabal-rpm build:
|
||||||
%ghc_libs_build %{subpkgs}
|
%ghc_libs_build %{subpkgs}
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -192,6 +197,9 @@ echo "%{_datadir}/%{ghclibparser}/" >> %{ghclibparser}/ghc-ghc-lib-parser.files
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 20 2020 Jens Petersen <petersen@redhat.com> - 3.1.6-4
|
||||||
|
- enable armv7hl with -O0
|
||||||
|
|
||||||
* Thu Jul 16 2020 Jens Petersen <petersen@redhat.com> - 3.1.6-3
|
* Thu Jul 16 2020 Jens Petersen <petersen@redhat.com> - 3.1.6-3
|
||||||
- update to 3.1.6
|
- update to 3.1.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user