summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 3828d12718..211494d419 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -30,8 +30,8 @@
cd "$(dirname "$0")" || exit 1
-CROSSGCC_DATE="January 9th, 2019"
-CROSSGCC_VERSION="1.56"
+CROSSGCC_DATE="$(git log -n 1 --pretty=%ad --date=short .)"
+CROSSGCC_VERSION="$(git describe $(git log -n 1 --pretty=%h .))"
CROSSGCC_COMMIT=$( git describe )
# default settings