enable armv7hl with -O0 (#1806116)
This commit is contained in:
parent
56553159c0
commit
b155119ba5
12
hlint.spec
12
hlint.spec
|
@ -10,7 +10,7 @@
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 2.1.26
|
Version: 2.1.26
|
||||||
# can only be reset when all subpkgs bumped
|
# can only be reset when all subpkgs bumped
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Haskell source code suggestions
|
Summary: Haskell source code suggestions
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
|
@ -61,8 +61,7 @@ BuildRequires: ghc-unix-prof
|
||||||
BuildRequires: alex
|
BuildRequires: alex
|
||||||
BuildRequires: happy
|
BuildRequires: happy
|
||||||
# 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
|
ExcludeArch: s390x
|
||||||
ExcludeArch: armv7hl s390x
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
HLint gives suggestions on how to improve your source code.
|
HLint gives suggestions on how to improve your source code.
|
||||||
|
@ -135,6 +134,10 @@ This package provides the Haskell %{name} profiling library.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Begin cabal-rpm build:
|
# Begin cabal-rpm build:
|
||||||
|
%ifarch armv7hl
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1806116
|
||||||
|
%define cabal_configure_options --ghc-options="-O0"
|
||||||
|
%endif
|
||||||
%ghc_libs_build %{subpkgs}
|
%ghc_libs_build %{subpkgs}
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
# End cabal-rpm build
|
# End cabal-rpm build
|
||||||
|
@ -197,6 +200,9 @@ echo "%{_datadir}/%{ghclibparser}/" >> %{ghclibparser}/ghc-ghc-lib-parser.files
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 1 2021 Jens Petersen <petersen@redhat.com> - 2.1.26-2
|
||||||
|
- enable armv7hl with -O0 (#1806116)
|
||||||
|
|
||||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 2.1.26-1
|
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 2.1.26-1
|
||||||
- update to 2.1.26
|
- update to 2.1.26
|
||||||
- add ghc-lib-parser: exclude s390x (#1806109) and armv7hl (#1806116)
|
- add ghc-lib-parser: exclude s390x (#1806109) and armv7hl (#1806116)
|
||||||
|
|
Loading…
Reference in New Issue