From 8860cff55637c40396869b7383453fdb996ce67e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 6 May 2013 09:35:43 -0400 Subject: [PATCH] Disable building with the haskell threaded runtime when the assistant is not built. This may fix builds on s390x and sparc, which are failing to link -lHSrts_thr --- debian/changelog | 3 +++ git-annex.cabal | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d5152ae538..aee6ca1ab2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ git-annex (4.20130502) UNRELEASED; urgency=low * Temporarily add an upper bound to the version of yesod that can be built with, since yesod 1.2 has a great many changes that will require extensive work on the webapp. + * Disable building with the haskell threaded runtime when the assistant + is not built. This may fix builds on s390x and sparc, which are failing + to link -lHSrts_thr -- Joey Hess Thu, 02 May 2013 20:39:19 -0400 diff --git a/git-annex.cabal b/git-annex.cabal index 79bb59ca7d..b1a2e20c3e 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -76,7 +76,7 @@ Executable git-annex Include-Dirs: Utility C-Sources: Utility/libdiskfree.c Utility/libmounts.c CC-Options: -Wall - GHC-Options: -threaded -Wall + GHC-Options: -Wall CPP-Options: -DWITH_CLIBS Extensions: PackageImports @@ -98,6 +98,7 @@ Executable git-annex if flag(Assistant) && ! os(windows) && ! os(solaris) Build-Depends: async, stm (>= 2.3) CPP-Options: -DWITH_ASSISTANT + GHC-Options: -threaded if flag(Android) Build-Depends: data-endian