diff options
author | Que Quotion | 2016-03-21 04:43:33 +0900 |
---|---|---|
committer | Que Quotion | 2016-03-21 04:43:33 +0900 |
commit | 951a83282873377c78279c9e9f31efa0671e0df9 (patch) | |
tree | cbb028e8bf053fa52de79f76bb86410567ea65f8 /03.pgo.patch | |
parent | df2a50494fb596c8f2adbe761859edc932089785 (diff) | |
download | aur-951a83282873377c78279c9e9f31efa0671e0df9.tar.gz |
These little mistakes, they're the result of dealing with the
tremendous pressure that's been on me lately. Every single post
has me nervous to the bone; which high-profile personality is going
to forcibly silence me over nothing next?
Diffstat (limited to '03.pgo.patch')
-rw-r--r-- | 03.pgo.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/03.pgo.patch b/03.pgo.patch index f2e7d9988455..da815084676d 100644 --- a/03.pgo.patch +++ b/03.pgo.patch @@ -12,7 +12,7 @@ + CXXFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen" + LDFLAGS+=" -Wl,-lgcov" + else -+ [ ! -d "$PROFDEST/$pkgbase.used" ] && mv "$PROFDEST/$pkgbase.gen" "$PROFDEST/$pkgbase.used" ++ [[ ! -d "$PROFDEST/$pkgbase.used" ]] && mv "$PROFDEST/$pkgbase.gen" "$PROFDEST/$pkgbase.used" + CFLAGS+=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used" + CXXFLAGS+=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used" + fi |