pgo: pgo.sh: run ‘find’ in the build-directory, not cwd

This commit is contained in:
Daniel Eklöf 2021-09-04 18:29:55 +02:00
parent e907ec209c
commit 6d67c2b4ab
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -78,7 +78,7 @@ export CFLAGS
meson "${@}" "${blddir}" "${srcdir}" --buildtype=release -Db_lto=true
if [ ${do_pgo} = yes ]; then
find . -name "*.gcda" -delete
find "${blddir}" -name "*.gcda" -delete
meson configure "${blddir}" -Db_pgo=generate
ninja -C "${blddir}"