From 91d1ce73b3cb022174a460a030d96ce51a8e6a36 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 6 Jul 2016 14:40:18 -0400 Subject: Remove unnecessary rpaths in the git-annex binary, but only when it's built using make, not cabal. This speeds up git-annex statup time by around 50%. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b75e9864f..3a9053688 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,8 @@ git-annex: Build/SysConfig.hs else \ ln -sf dist/build/git-annex/git-annex git-annex; \ fi + # Work around https://github.com/haskell/cabal/issues/3524 + @chrpath -d git-annex || echo "** unable to chrpath git-annex; it will be a little bit slower than necessary" # These are not built normally. git-union-merge.1: doc/git-union-merge.mdwn -- cgit v1.2.3