[ghc] fixes path to gcc on ppc64 arch
Dan Horák
sharkcz at fedoraproject.org
Thu May 5 08:06:03 UTC 2011
commit 62c28163cc61364f29c91c4f4c07e24237a03903
Author: Jiri Skala <jskala at redhat.com>
Date: Wed May 4 04:35:14 2011 +0200
fixes path to gcc on ppc64 arch
ghc.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index 87fca2b..08f19de 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -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 at redhat.com> - 7.0.2-19.1
+- fixes path to gcc on ppc64 arch
+
* Tue Apr 26 2011 Jens Petersen <petersen at redhat.com> - 7.0.2-19
- upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala)
More information about the scm-commits
mailing list