diff options
author | Que Quotion | 2020-07-06 00:35:42 +0900 |
---|---|---|
committer | Que Quotion | 2020-07-06 00:35:42 +0900 |
commit | d62f9b4266d0852e785010abd4559ede0b908a64 (patch) | |
tree | 3763c18bf64068df4625dce24d06583d9a7d6cd9 /pgo.sh.in | |
parent | 231d8b3e857954e9de49f1a5766c75766888d64e (diff) | |
download | aur-d62f9b4266d0852e785010abd4559ede0b908a64.tar.gz |
pgo must add -lgcov to ldflags when rebuilding against profile data
Diffstat (limited to 'pgo.sh.in')
-rw-r--r-- | pgo.sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pgo.sh.in b/pgo.sh.in index 4fb016c68edd..f2686c89fc53 100644 --- a/pgo.sh.in +++ b/pgo.sh.in @@ -36,6 +36,7 @@ buildenv_pgo() { [[ -d $PROFDEST/$pkgbase.used ]] && rm -rf $PROFDEST/$pkgbase.used mv $PROFDEST/$pkgbase.{gen,used} pgoflags=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used" + pgoldflags=" -lgcov" msg2 "Profile data will be applied." fi |