fixes path to gcc on ppc64 arch
This commit is contained in:
parent
03f30c40ef
commit
62c28163cc
8
ghc.spec
8
ghc.spec
@ -45,7 +45,7 @@ Version: 7.0.2
|
|||||||
# - 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: 19%{?dist}
|
Release: 19.1%{?dist}
|
||||||
Summary: Glasgow Haskell Compilation system
|
Summary: Glasgow Haskell Compilation system
|
||||||
# fedora ghc has only been bootstrapped on the following archs:
|
# fedora ghc has only been bootstrapped on the following archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
||||||
@ -227,6 +227,9 @@ export CFLAGS="${CFLAGS:-%optflags}"
|
|||||||
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
|
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
|
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
|
||||||
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
|
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
|
||||||
|
%ifarch ppc64
|
||||||
|
--with-gcc=/usr/bin/gcc
|
||||||
|
%endif
|
||||||
%{!?ghc_without_shared:--enable-shared}
|
%{!?ghc_without_shared:--enable-shared}
|
||||||
|
|
||||||
# >4 cpus tends to break build
|
# >4 cpus tends to break build
|
||||||
@ -401,6 +404,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 04 2011 Jiri Skala <jskala@redhat.com> - 7.0.2-19.1
|
||||||
|
- fixes path to gcc on ppc64 arch
|
||||||
|
|
||||||
* Tue Apr 26 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-19
|
* Tue Apr 26 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-19
|
||||||
- upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala)
|
- upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user