From 6d67c2b4ab3194df40d383841fb95bcc2f033fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 4 Sep 2021 18:29:55 +0200 Subject: [PATCH] =?UTF-8?q?pgo:=20pgo.sh:=20run=20=E2=80=98find=E2=80=99?= =?UTF-8?q?=20in=20the=20build-directory,=20not=20cwd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pgo/pgo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgo/pgo.sh b/pgo/pgo.sh index 39da2a30..af84e7ce 100755 --- a/pgo/pgo.sh +++ b/pgo/pgo.sh @@ -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}"