From 5211b8fc7047c41aef7165dbc1e16d327ce6923c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 5 Jun 2015 14:37:01 -0400 Subject: [PATCH] not sure why, but ghc started failing linking the C libs unless explicitly built with -fPIC --- git-annex.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-annex.cabal b/git-annex.cabal index fa255d4d54..d615067034 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -127,7 +127,7 @@ Executable git-annex bloomfilter, edit-distance, resourcet, http-conduit, http-types, esqueleto, persistent-sqlite, persistent, persistent-template - CC-Options: -Wall + CC-Options: -Wall -fPIC GHC-Options: -Wall -fno-warn-tabs Extensions: PackageImports -- Some things don't work with the non-threaded RTS.