summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-03-22 04:08:48 -0400
committerJunio C Hamano <gitster@pobox.com>2009-03-22 17:42:05 -0700
commit91408042768c05347c1b9f081a00387ca07b26fe (patch)
treef9ca729168cb02454b34d9dc841fd3ac307ed386
parent4bca86367bff80ad3c04e282a1aa9ed66db26aa1 (diff)
downloadgit-91408042768c05347c1b9f081a00387ca07b26fe.tar.gz
Makefile: turn on USE_ST_TIMESPEC for FreeBSD
Fixes broken compilation on FreeBSD 6.1. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aae3b09411..320c89786c 100644
--- a/Makefile
+++ b/Makefile
@@ -713,6 +713,7 @@ ifeq ($(uname_S),FreeBSD)
BASIC_CFLAGS += -I/usr/local/include
BASIC_LDFLAGS += -L/usr/local/lib
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
+ USE_ST_TIMESPEC = YesPlease
THREADED_DELTA_SEARCH = YesPlease
ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
PTHREAD_LIBS = -pthread