summarylogtreecommitdiffstats
path: root/pgo.sh.in
diff options
context:
space:
mode:
authorQue Quotion2019-03-10 22:28:11 +0900
committerQue Quotion2019-03-10 22:28:11 +0900
commit0ff074f50b91aee6901ff9a085a0e40a9680ae9c (patch)
tree24d0ba6d33808b6b81a4babd055efca4d994d34b /pgo.sh.in
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)
Diffstat (limited to 'pgo.sh.in')
-rw-r--r--pgo.sh.in3
1 files changed, 0 insertions, 3 deletions
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"