bin: always define MESA_GIT_SHA1 to make it directly usable in code

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom
2018-08-14 18:04:58 +01:00
parent 471f708ed6
commit bc8abc1adf
6 changed files with 7 additions and 27 deletions

View File

@@ -404,11 +404,7 @@ one_time_init( struct gl_context *ctx )
#if defined(DEBUG)
if (MESA_VERBOSE != 0) {
_mesa_debug(ctx, "Mesa " PACKAGE_VERSION " DEBUG build"
#ifdef MESA_GIT_SHA1
" (" MESA_GIT_SHA1 ")"
#endif
"\n");
_mesa_debug(ctx, "Mesa " PACKAGE_VERSION " DEBUG build" MESA_GIT_SHA1 "\n");
}
#endif
}