build: Rename BUILD_* macros and the code self-descriptive

This commit is contained in:
Hennadii Stepanov committed 2020-05-02 01:00:07 +03:00
1 parent dc1fba9389
commit 35f1189ea7
2 files changed
+12 -21

No files matched your search

+2 -2
View File
@@ -36,9 +36,9 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$
fi
if [ -n "$GIT_TAG" ]; then
NEWINFO="#define BUILD_DESC \"$GIT_TAG\""
NEWINFO="#define BUILD_GIT_TAG \"$GIT_TAG\""
elif [ -n "$GIT_COMMIT" ]; then
NEWINFO="#define BUILD_SUFFIX $GIT_COMMIT"
NEWINFO="#define BUILD_GIT_COMMIT $GIT_COMMIT"
else
NEWINFO="// No build information available"
fi