From 8418a9f367ee177962ff348cb2441fb7d6ee3615 Mon Sep 17 00:00:00 2001 From: Tim Schlueter Date: Sun, 27 May 2018 12:38:51 -0700 Subject: [PATCH] Don't add commit id to version when building from a tag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 57ed873e..21b51c30 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall \ $(EXTRA_CFLAGS) LDFLAGS+=$(CFLAGS) -VERSION?=$(shell git describe --long --dirty 2>/dev/null || echo 0.1-nogit) +VERSION?=$(shell git describe --dirty 2>/dev/null || echo 0.1-nogit) CC_VERSION=$(shell $(CC) -v 2>&1|grep -E '(gcc|clang) version')