meson: Use build_always_stale instead of build_always

which was deprecated in 0.47. This doesn't change behavior, just shuts
up a warning.

Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
This commit is contained in:
Dylan Baker 2020-04-24 12:29:42 -07:00 committed by Marge Bot
parent a16e8bfb94
commit 6ef314b4fa
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ sha1_h = custom_target(
'git_sha1.h',
output : 'git_sha1.h',
command : [prog_python, git_sha1_gen_py, '--output', '@OUTPUT@'],
build_always : true, # commit sha1 can change without having touched these files
build_by_default : true,
build_always_stale : true, # commit sha1 can change without having touched these files
)
subdir('gtest')