summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-02-19 17:20:30 +0100
committerAndreas Fankhauser hiddenalpha.ch2023-02-19 17:20:30 +0100
commit4015f6de5c98cab856991a05b27713af90e97e7f (patch)
tree1464d6b6fefeb7b41e78a46fcdb158c38fad6381 /configure
parent9e4ff1fe33081c1a4a8639fe2e27ffc6f2d4f48a (diff)
downloadDeflateAndInflate-4015f6de5c98cab856991a05b27713af90e97e7f.zip
DeflateAndInflate-4015f6de5c98cab856991a05b27713af90e97e7f.tar.gz
(build) Simplify build doc
- Include target tripplet into version - Refactor docker build env by a more flexible script variant
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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