From 53f487dd71b597b0771359f2125388af0913f25e Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Tue, 9 Nov 2010 18:08:38 +0100 Subject: Makefile: avoid spurious rebuilds of git sources due to `sudo make` Signed-off-by: Lars Hjemli --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 15c7c20..be1d796 100644 --- a/Makefile +++ b/Makefile @@ -126,6 +126,8 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"' CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' +GIT_OPTIONS = prefix=/usr + ifdef NO_ICONV CFLAGS += -DNO_ICONV endif -- cgit v1.2.3-2-gb3c3