summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--pgo.sh.in2
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc127d87b01a..838726d0e144 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = makepkg-optimize
pkgdesc = Supplemental build and packaging optimizations for makepkg
- pkgver = 2
- pkgrel = 2
+ pkgver = 3
+ pkgrel = 1
url = https://wiki.archlinux.org/index.php/Makepkg-optimize
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index c77e67b77e8f..7e127f660250 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: bartus ( aur\at\bartus.33mail.com )
pkgname=makepkg-optimize
-pkgver=2
-pkgrel=2
+pkgver=3
+pkgrel=1
pkgdesc='Supplemental build and packaging optimizations for makepkg'
arch=('any')
license=('GPL')
diff --git a/pgo.sh.in b/pgo.sh.in
index 496043b295a6..afd8433bc6a8 100644
--- a/pgo.sh.in
+++ b/pgo.sh.in
@@ -44,7 +44,7 @@ pgo() {
mkdir "$PROFDEST/$pkgbase.gen"
CFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen"
CXXFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen"
- LDFLAGS+=" -lgcov"
+ LDFLAGS+=" -lgcov --coverage"
else
[[ ! -d "$PROFDEST/$pkgbase.used" ]] && mv "$PROFDEST/$pkgbase.gen" "$PROFDEST/$pkgbase.used"
CFLAGS+=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used"