about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorLars Hjemli2010-11-09 18:08:38 +0100
committerLars Hjemli2010-11-10 00:20:50 +0100
commit53f487dd71b597b0771359f2125388af0913f25e (patch)
treec1eef6fd5af9d53790f136cc9e19499668f2e8b9 /Makefile
parentui-log: Fix filecount/linecount when path limit is in effect (diff)
downloadcgit-53f487dd71b597b0771359f2125388af0913f25e.tar.gz
cgit-53f487dd71b597b0771359f2125388af0913f25e.zip
Makefile: avoid spurious rebuilds of git sources due to `sudo make`
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 15c7c20..be1d796 100644 --- a/Makefile +++ b/Makefile
@@ -126,6 +126,8 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
126CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' 126CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
127CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' 127CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
128 128
129GIT_OPTIONS = prefix=/usr
130
129ifdef NO_ICONV 131ifdef NO_ICONV
130 CFLAGS += -DNO_ICONV 132 CFLAGS += -DNO_ICONV
131endif 133endif