fixes path to gcc on ppc64 arch

This commit is contained in:
Jiri Skala 2011-05-04 04:35:14 +02:00 committed by Dan Horák
parent 03f30c40ef
commit 62c28163cc

View File

@ -45,7 +45,7 @@ Version: 7.0.2
# - release can only be reset if all library versions get bumped simultaneously
# (eg for a major release)
# - minor release numbers should be incremented monotonically
Release: 19%{?dist}
Release: 19.1%{?dist}
Summary: Glasgow Haskell Compilation system
# fedora ghc has only been bootstrapped on the following archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
@ -227,6 +227,9 @@ export CFLAGS="${CFLAGS:-%optflags}"
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
%ifarch ppc64
--with-gcc=/usr/bin/gcc
%endif
%{!?ghc_without_shared:--enable-shared}
# >4 cpus tends to break build
@ -401,6 +404,9 @@ fi
%endif
%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
- upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala)