summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2019-03-10 22:28:11 +0900
committerQue Quotion2019-03-10 22:28:11 +0900
commit0ff074f50b91aee6901ff9a085a0e40a9680ae9c (patch)
tree24d0ba6d33808b6b81a4babd055efca4d994d34b
parent3c462a7e92b7980f8da08a0bf5d38a65b9fe9f5f (diff)
downloadaur-0ff074f50b91aee6901ff9a085a0e40a9680ae9c.tar.gz
Remove unecessary lines from pgo.sh.in (no need to explicitly create pkgbase.gen; makes checking for INFAKEROOT irrelevant--which may have been irrelevant anyway)
-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"