port to armv7hl by Henrik Nordström (#741725)
This commit is contained in:
parent
5e668afb67
commit
a36940c06b
19
ghc.spec
19
ghc.spec
@ -14,6 +14,9 @@
|
|||||||
# archs that use system libffi
|
# archs that use system libffi
|
||||||
%global libffi_archs %{ix86} x86_64
|
%global libffi_archs %{ix86} x86_64
|
||||||
|
|
||||||
|
# unregisterized archs
|
||||||
|
%global unregisterised_archs ppc64 armv7hl
|
||||||
|
|
||||||
# ghc does not output dwarf format so debuginfo is not useful
|
# ghc does not output dwarf format so debuginfo is not useful
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
@ -31,10 +34,10 @@ Version: 7.0.4
|
|||||||
# - release can only be reset if all library versions get bumped simultaneously
|
# - release can only be reset if all library versions get bumped simultaneously
|
||||||
# (eg for a major release)
|
# (eg for a major release)
|
||||||
# - minor release numbers should be incremented monotonically
|
# - minor release numbers should be incremented monotonically
|
||||||
Release: 28%{?dist}
|
Release: 29%{?dist}
|
||||||
Summary: Glasgow Haskell Compiler
|
Summary: Glasgow Haskell Compiler
|
||||||
# fedora ghc has been bootstrapped on the following archs:
|
# fedora ghc has been bootstrapped on the following archs:
|
||||||
#ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
#ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 armv7hl
|
||||||
ExcludeArch: sparc64 s390x
|
ExcludeArch: sparc64 s390x
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -199,11 +202,10 @@ HSCOLOUR_SRCS = NO
|
|||||||
%ifarch %{libffi_archs}
|
%ifarch %{libffi_archs}
|
||||||
SRC_HC_OPTS += -lffi
|
SRC_HC_OPTS += -lffi
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc64
|
%ifarch %{unregisterised_archs}
|
||||||
GhcUnregisterised=YES
|
GhcUnregisterised=YES
|
||||||
GhcWithNativeCodeGen=NO
|
%endif
|
||||||
SplitObjs=NO
|
%ifarch ppc64
|
||||||
GhcWithInterpreter=NO
|
|
||||||
GhcNotThreaded=YES
|
GhcNotThreaded=YES
|
||||||
SRC_HC_OPTS+=-optc-mminimal-toc -optl-pthread
|
SRC_HC_OPTS+=-optc-mminimal-toc -optl-pthread
|
||||||
SRC_CC_OPTS+=-mminimal-toc -pthread -Wa,--noexecstack
|
SRC_CC_OPTS+=-mminimal-toc -pthread -Wa,--noexecstack
|
||||||
@ -340,7 +342,7 @@ fi
|
|||||||
%{ghclibdir}/extra-gcc-opts
|
%{ghclibdir}/extra-gcc-opts
|
||||||
%{ghclibdir}/ghc
|
%{ghclibdir}/ghc
|
||||||
%{ghclibdir}/ghc-pkg
|
%{ghclibdir}/ghc-pkg
|
||||||
%ifnarch ppc64
|
%ifnarch %{unregisterised_archs}
|
||||||
%{ghclibdir}/ghc-asm
|
%{ghclibdir}/ghc-asm
|
||||||
%{ghclibdir}/ghc-split
|
%{ghclibdir}/ghc-split
|
||||||
%endif
|
%endif
|
||||||
@ -385,6 +387,9 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 28 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-29
|
||||||
|
- port to armv7hl by Henrik Nordström (#741725)
|
||||||
|
|
||||||
* Wed Sep 14 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-28
|
* Wed Sep 14 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-28
|
||||||
- setup ghc-deps.sh when not bootstrapping!
|
- setup ghc-deps.sh when not bootstrapping!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user