From 9c2375b6d4e725f0757d7df83473177234425dc4 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Mon, 4 Mar 2013 15:05:17 +0100 Subject: shl: move githead into a source file This moves githead.h to shl_githead.c so we can skip recompilations on GIT-HEAD changes. We only need to relink now (which we cannot skip). This speeds up build-processes considerably on slower machines. Signed-off-by: David Herrmann --- src/shl_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shl_log.c') diff --git a/src/shl_log.c b/src/shl_log.c index d35a31f..5b726a4 100644 --- a/src/shl_log.c +++ b/src/shl_log.c @@ -19,7 +19,7 @@ #include #include #include -#include "githead.h" +#include "shl_githead.h" #include "shl_log.h" #include "shl_misc.h" @@ -505,5 +505,5 @@ void log_print_init(const char *appname) appname = ""; log_format(LOG_DEFAULT_CONF, NULL, LOG_NOTICE, "%s Revision %s %s %s", appname, - BUILD_GIT_HEAD, __DATE__, __TIME__); + shl_git_head, __DATE__, __TIME__); } -- cgit v1.2.3