summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--pgo.sh.in3
3 files changed, 2 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7682d62ef48d..85927ab1126d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = makepkg-optimize
pkgdesc = Supplemental build and packaging optimizations for makepkg
- pkgver = 7
+ pkgver = 8
pkgrel = 1
url = https://wiki.archlinux.org/index.php/Makepkg-optimize
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 56a6742d543f..0d5cba68b15a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: bartus ( aur\at\bartus.33mail.com )
pkgname=makepkg-optimize
-pkgver=7
+pkgver=8
pkgrel=1
pkgdesc='Supplemental build and packaging optimizations for makepkg'
arch=('any')
diff --git a/pgo.sh.in b/pgo.sh.in
index 7824efcab420..2347a586777f 100644
--- a/pgo.sh.in
+++ b/pgo.sh.in
@@ -26,10 +26,7 @@ buildenv_pgo() {
exit 1
fi
- [[ "$INFAKEROOT" == 1 ]] && return
-
if [ ! -d "$PROFDEST/$pkgbase.gen" ]; then
- mkdir "$PROFDEST/$pkgbase.gen"
CFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen"
CXXFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen"
LDFLAGS+=" -lgcov --coverage"