diff options
author | Que Quotion | 2016-03-21 04:42:41 +0900 |
---|---|---|
committer | Que Quotion | 2016-03-21 04:42:41 +0900 |
commit | df2a50494fb596c8f2adbe761859edc932089785 (patch) | |
tree | eca0cd3cb5b00258b06549fd28c44f43aa0d3ccd | |
parent | 2b8026b48f34c472c50b98df81c153307421be2f (diff) | |
download | aur-df2a50494fb596c8f2adbe761859edc932089785.tar.gz |
I was so sure I had already fixed that....
-rw-r--r-- | 03.pgo.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/03.pgo.patch b/03.pgo.patch index 43b47ee551c8..f2e7d9988455 100644 --- a/03.pgo.patch +++ b/03.pgo.patch @@ -11,8 +11,8 @@ + CFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen" + CXXFLAGS+=" -fprofile-generate -fprofile-dir=$PROFDEST/$pkgbase.gen" + LDFLAGS+=" -Wl,-lgcov" -+ elif [ ! -d "$PROFDEST/$pkgbase.used" ]; then -+ mv "$PROFDEST/$pkgbase.gen" "$PROFDEST/$pkgbase.used" ++ else ++ [ ! -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 |