summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--pgo.sh.in1
3 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3074c4a147c..05407935d0c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -32,7 +32,7 @@ pkgbase = makepkg-optimize
source = pkgopts_ext.conf
source = pkgopts-param_ext.conf
source = compress-param_max.conf
- sha1sums = 4c69c617b88bb26ced5562f844aa249d49ff1ad0
+ sha1sums = 2b746b2d8bf57691f1b25afce96a2752f6eee7e5
sha1sums = 61c765080f3d41dbae15be9212667f9e6364550b
sha1sums = d7a3801037333c582dba976db27cf8896bc1b401
sha1sums = c99d9cb49dd31924a1cb298bcfe142cef31a9fd3
diff --git a/PKGBUILD b/PKGBUILD
index a267dab58a4..36fc1b200ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ source=(${_buildenv[@]}
${_executable[@]}
${_tidy[@]}
${_conf[@]})
-sha1sums=('4c69c617b88bb26ced5562f844aa249d49ff1ad0'
+sha1sums=('2b746b2d8bf57691f1b25afce96a2752f6eee7e5'
'61c765080f3d41dbae15be9212667f9e6364550b'
'd7a3801037333c582dba976db27cf8896bc1b401'
'c99d9cb49dd31924a1cb298bcfe142cef31a9fd3'
diff --git a/pgo.sh.in b/pgo.sh.in
index 942aa931f0f..4fb016c68ed 100644
--- a/pgo.sh.in
+++ b/pgo.sh.in
@@ -33,6 +33,7 @@ buildenv_pgo() {
pgoldflags=" -lgcov --coverage"
msg2 "Profile data will be generated."
else
+ [[ -d $PROFDEST/$pkgbase.used ]] && rm -rf $PROFDEST/$pkgbase.used
mv $PROFDEST/$pkgbase.{gen,used}
pgoflags=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used"
msg2 "Profile data will be applied."