pgo: execute xtgettcap utility, to get profiling data

Fixes:

  ../utils/xtgettcap.c:175:1: error: ‘/home/daniel/src/foot/src/utils/xtgettcap.p/xtgettcap.c.gcda’ profile count data file not found [-Werror=missing-profile]
This commit is contained in:
Daniel Eklöf 2022-10-07 21:47:56 +02:00
parent 9937d92c85
commit 503740f836
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ rm -f "${blddir}"/pgo-ok
# To ensure profiling data is generated in the build directory
cd "${blddir}"
"${blddir}"/utils/xtgettcap name
"${blddir}"/footclient --version
"${blddir}"/foot \
--config=/dev/null \

View file

@ -21,6 +21,7 @@ rm -f "${blddir}"/pgo-ok
# To ensure profiling data is generated in the build directory
cd "${blddir}"
"${blddir}"/utils/xtgettcap name
"${blddir}"/footclient --version
"${blddir}"/foot --version
"${blddir}"/pgo "${pgo_data}"