summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2019-11-20 00:32:30 +0900
committerQue Quotion2019-11-20 00:32:30 +0900
commit73fd705f2d9ef10f7c49f75b6cd09414b98acf26 (patch)
tree5596c10adae26c33b3cc0a126af574067a74185a
parent6c088a21dd360852e6013d83debe467047626821 (diff)
downloadaur-73fd705f2d9ef10f7c49f75b6cd09414b98acf26.tar.gz
Use -flto=auto for parallelization; thanks to brikler!
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--ZZ-lto.sh.in2
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7e88cb40d26..77bd1291d15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = makepkg-optimize
pkgdesc = Supplemental build and packaging optimizations for makepkg
- pkgver = 15
+ pkgver = 16
pkgrel = 1
url = https://wiki.archlinux.org/index.php/Makepkg-optimize
arch = any
@@ -33,7 +33,7 @@ pkgbase = makepkg-optimize
source = pkgopts-param_ext.conf
source = compress-param_max.conf
sha1sums = a9af81c30f57b7db6a9a52796d79399a4e754791
- sha1sums = 3e512ce1dfacc1163ca1ebec3d6821b499498174
+ sha1sums = 61c765080f3d41dbae15be9212667f9e6364550b
sha1sums = d7a3801037333c582dba976db27cf8896bc1b401
sha1sums = c99d9cb49dd31924a1cb298bcfe142cef31a9fd3
sha1sums = a893c32f2a3fff8b279025ec60f0c3d88143dc1e
diff --git a/PKGBUILD b/PKGBUILD
index d1b74272e7d..39a5c40bd76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: bartus ( aur\at\bartus.33mail.com )
pkgname=makepkg-optimize
-pkgver=15
+pkgver=16
pkgrel=1
pkgdesc='Supplemental build and packaging optimizations for makepkg'
arch=('any')
@@ -20,7 +20,7 @@ source=(${_buildenv[@]}
${_tidy[@]}
${_conf[@]})
sha1sums=('a9af81c30f57b7db6a9a52796d79399a4e754791'
- '3e512ce1dfacc1163ca1ebec3d6821b499498174'
+ '61c765080f3d41dbae15be9212667f9e6364550b'
'd7a3801037333c582dba976db27cf8896bc1b401'
'c99d9cb49dd31924a1cb298bcfe142cef31a9fd3'
'a893c32f2a3fff8b279025ec60f0c3d88143dc1e'
diff --git a/ZZ-lto.sh.in b/ZZ-lto.sh.in
index c0950e23849..8bf7bb36ee6 100644
--- a/ZZ-lto.sh.in
+++ b/ZZ-lto.sh.in
@@ -20,7 +20,7 @@ buildenv_lto() {
check_buildoption "lto-thin-clang" "y" && ltoflags+="=thin"
check_buildoption "lto-thin" "y" || check_buildoption "lto" "y" && \
[[ -f "$(gcc -print-search-dirs | grep install | awk '{print $2 "liblto_plugin.so"}')" ]] && \
- ltoflags+="=$(getconf _NPROCESSORS_ONLN) -fno-fat-lto-objects"
+ ltoflags+="=auto -fno-fat-lto-objects"
check_buildoption "lto" "y" && ltoflags+=" -flto-partition=none"
CFLAGS+="$ltoflags"