disable prof on ppc64 to avoid linker error

/usr/bin/ld: TOC section size exceeds 64k
This commit is contained in:
Jens Petersen 2012-05-21 13:52:50 +09:00
parent 19b1af31af
commit 35c8a755ee
1 changed files with 9 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%ifarch ppc64
%global without_prof 1
%endif
%global pkg_name xmonad-contrib
%global common_summary Third party extensions for xmonad
@ -19,7 +23,7 @@ your own extensions.
Name: ghc-%{pkg_name}
Version: 0.10
Release: 4%{?dist}
Release: 4.1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@ -81,6 +85,10 @@ Patch3: xmonad-contrib-0.10-BorderResize-smaller.patch
%changelog
* Mon May 21 2012 Jens Petersen <petersen@redhat.com> - 0.10-4.1
- disable prof on ppc64 to avoid linker error
"TOC section size exceeds 64k"
* Fri Mar 23 2012 Jens Petersen <petersen@redhat.com> - 0.10-4
- add license to ghc_files