summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2016-04-02 04:03:59 +0900
committerQue Quotion2016-04-02 04:03:59 +0900
commit32fa78c289e0c3f0ae564a73f2045de2dadb4ae5 (patch)
tree1c692ac149ec2b424cf44cbede312dcc1b1bd2b1
parent3f601368ed1e3306503d140600fe346d70184966 (diff)
downloadaur-32fa78c289e0c3f0ae564a73f2045de2dadb4ae5.tar.gz
Remove conftest.gcda as it is not necessary and can cause problems
-rw-r--r--.SRCINFO6
-rw-r--r--03.pgo.patch4
-rw-r--r--PKGBUILD4
3 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6882be1721..55bf18d5d0c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Apr 1 07:57:13 UTC 2016
+# Fri Apr 1 19:02:43 UTC 2016
pkgbase = makepkg-optimize
pkgdesc = Additional package optimization routines for makepkg
pkgver = 1
- pkgrel = 8
+ pkgrel = 9
url = https://projects.archlinux.org/pacman.git/
arch = i686
arch = x86_64
@@ -32,7 +32,7 @@ pkgbase = makepkg-optimize
sha512sums = 67fb9359cd5dc52413ad2ca7e91b445826d7cf6b7ad3db0d2b3845310ab0bdfc41c2e70cec564e26269521ac313f7202c44996a24266380e48e88927bd1012e2
sha512sums = b4896082fd7fc4a69abc5fc98bf22c92a94cef9ccae5d3e5d1825cd3f04dcff1bce622a3f7fdc00bd43b5e1d091825d119b3a91d354f1ab58e6a8fe3af72b0e2
sha512sums = bbd4bf3ddbda97008764c1a619aee4f2e3d3476c8affaac75ffee328db452f587454f16158942ec666e2357474a052019e5641ce6d432c43593b3612bdc40af2
- sha512sums = 5a8083ea14a6a414051602740d1cabf80e77119570b8555194bd921c46a4fce5a7e6611d04a778bfe688e30b0de5ccd6c458299d279476e4ffcc01577959d949
+ sha512sums = 0004f7d96366b47df5f4be1de9648038a4c9a400084d37dcd13d91ae805abb634051c88bb7bd35ff90f3e563508ce65686a321ed0c64cd63f5dc344d4022d9b8
sha512sums = 3520817c16ea83a4bed28f153138608456267eac0caed250f8d951c54cf6a07d07e5b13768c5165a8e31a56e76919b3c9b84ad3b2905489ce65e625fa067f9b0
sha512sums = c2f74ab15214ccac6ae570fa4a4ebfdf35690be60851be9eb8ab65c1ce4ebed0f0d3cb98947fd4a586d19cb399d312390ebbc68f4de86f607adef2a2d590798e
sha512sums = 0cbcc6590b901ac33dc78b755300da02070c5abb68153a55eb7b1bf5426dd37286f5831185c53eff189fc689796a234bad84fddc8e8f43edf6b19f13667291c7
diff --git a/03.pgo.patch b/03.pgo.patch
index 50e51153986..f81254b5f2d 100644
--- a/03.pgo.patch
+++ b/03.pgo.patch
@@ -1,6 +1,6 @@
--- makepkg-optimize
+++ makepkg-optimize
-@@ -877,6 +877,21 @@ run_build() {
+@@ -877,6 +877,23 @@ run_build() {
NMFLAGS+=" --plugin $LTOPLUGIN"
fi
@@ -13,6 +13,8 @@
+ LDFLAGS+=" -lgcov"
+ else
+ [[ ! -d "$PROFDEST/$pkgbase.used" ]] && mv "$PROFDEST/$pkgbase.gen" "$PROFDEST/$pkgbase.used"
++ #It is not necessary, and occasionally dangerous, to profile conftest.c
++ [[ -f "$PROFDEST/$pkgbase.used/conftest.gcda" ]] && rm "$PROFDEST/$pkgbase.used/conftest.gcda"
+ CFLAGS+=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used"
+ CXXFLAGS+=" -fprofile-correction -fprofile-use -fprofile-dir=$PROFDEST/$pkgbase.used"
+ fi
diff --git a/PKGBUILD b/PKGBUILD
index 3567683b79c..e67e279d6a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=makepkg-optimize
pkgver=1
-pkgrel=8
+pkgrel=9
pkgdesc='Additional package optimization routines for makepkg'
arch=('i686' 'x86_64')
license=('GPL')
@@ -17,7 +17,7 @@ source=({00.optipng,01.upx,02.lto,03.pgo,04.graphite,05.svgo}.patch
sha512sums=('67fb9359cd5dc52413ad2ca7e91b445826d7cf6b7ad3db0d2b3845310ab0bdfc41c2e70cec564e26269521ac313f7202c44996a24266380e48e88927bd1012e2'
'b4896082fd7fc4a69abc5fc98bf22c92a94cef9ccae5d3e5d1825cd3f04dcff1bce622a3f7fdc00bd43b5e1d091825d119b3a91d354f1ab58e6a8fe3af72b0e2'
'bbd4bf3ddbda97008764c1a619aee4f2e3d3476c8affaac75ffee328db452f587454f16158942ec666e2357474a052019e5641ce6d432c43593b3612bdc40af2'
- '5a8083ea14a6a414051602740d1cabf80e77119570b8555194bd921c46a4fce5a7e6611d04a778bfe688e30b0de5ccd6c458299d279476e4ffcc01577959d949'
+ '0004f7d96366b47df5f4be1de9648038a4c9a400084d37dcd13d91ae805abb634051c88bb7bd35ff90f3e563508ce65686a321ed0c64cd63f5dc344d4022d9b8'
'3520817c16ea83a4bed28f153138608456267eac0caed250f8d951c54cf6a07d07e5b13768c5165a8e31a56e76919b3c9b84ad3b2905489ce65e625fa067f9b0'
'c2f74ab15214ccac6ae570fa4a4ebfdf35690be60851be9eb8ab65c1ce4ebed0f0d3cb98947fd4a586d19cb399d312390ebbc68f4de86f607adef2a2d590798e'
'0cbcc6590b901ac33dc78b755300da02070c5abb68153a55eb7b1bf5426dd37286f5831185c53eff189fc689796a234bad84fddc8e8f43edf6b19f13667291c7'