aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-09-04 16:41:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-12 08:39:45 +0000
commita941253ba74d5ca48cbb1401b4ced8d0fa2b6a1e (patch)
treedf268d9166be35e2dcf95a85555f5c99e0d63fe1
parentpgo: pgo.sh: run ‘find’ in the build-directory, not cwd (diff)
pgo: pgo.sh: add meson bld/src dir arguments last
-rwxr-xr-xpgo/pgo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgo/pgo.sh b/pgo/pgo.sh
index af84e7ce..fd7d05a3 100755
--- a/pgo/pgo.sh
+++ b/pgo/pgo.sh
@@ -75,7 +75,7 @@ esac
# echo "CFLAGS: ${CFLAGS}"
export CFLAGS
-meson "${@}" "${blddir}" "${srcdir}" --buildtype=release -Db_lto=true
+meson setup --buildtype=release -Db_lto=true "${@}" "${blddir}" "${srcdir}"
if [ ${do_pgo} = yes ]; then
find "${blddir}" -name "*.gcda" -delete