From 4015f6de5c98cab856991a05b27713af90e97e7f Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Sun, 19 Feb 2023 17:20:30 +0100 Subject: (build) Simplify build doc - Include target tripplet into version - Refactor docker build env by a more flexible script variant --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 85aa010..d838adf 100755 --- a/configure +++ b/configure @@ -59,9 +59,9 @@ printMakefile () { printf '%s' 'PROJECT_VERSION=$(shell' printf '%s' ' ret=$$(git describe --tags 2>/dev/null |sed -E "s;^v;;");' printf '%s' ' if test -n "$$ret" -a -n "$$(git status --porcelain 2>/dev/null)"; then' - printf '%s' ' ret="$$ret+dirt";' + printf '%s' ' ret="$$ret+dirt.$$($(CC) -dumpmachine)";' printf '%s' ' fi;' - printf '%s' ' if test -z "$$ret"; then ret=$$(date -u +0.0.0-%Y%m%d.%H%M%S); fi;' + printf '%s' ' if test -z "$$ret"; then ret=$$(date -u +0.0.0-%Y%m%d.%H%M%S)"+$$($(CC) -dumpmachine)"; fi;' printf '%s\n' ' echo "$$ret")' if test "$verbose" = "0"; then printf '\n%s\n' '.SILENT:'; fi -- cgit v1.1