git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Makefile: turn on USE_ST_TIMESPEC for FreeBSD

From
Jeff King <peff@peff.net>
Date
Mar 22, 2009, 08:08 UTC
Message-ID
<20090322080847.GA9075@coredump.intra.peff.net>
Fixes broken compilation on FreeBSD 6.1.
Signed-off-by: Jeff King <peff@peff.net>
---
No idea if older versions support this, or if they just need NO_NSEC
instead.
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index aae3b09..320c897 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
-- 
1.6.2.1.276.gd47fa
Next: Kjetil Barvik
Message 1 of 2 in “Makefile: turn on USE_ST_TIMESPEC for FreeBSD”
  1. Makefile: turn on USE_ST_TIMESPEC for FreeBSDJeff King, Mar 22, 2009
  2. Kjetil BarvikMar 22, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.