summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatt Parnell2016-08-28 20:26:29 -0500
committerMatt Parnell2016-08-28 20:26:29 -0500
commit0299601c59de6003ce1b4b34f08577391da3da5f (patch)
treeee2e23c2146dc770b4e0e9b37e91f2b1d14ccc83 /PKGBUILD
parente5838beca2163cfc6c759a85827bc7001bc60348 (diff)
downloadaur-0299601c59de6003ce1b4b34f08577391da3da5f.tar.gz
bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8dbca31618a..13c8048a3a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Original PKGBUILD Contributor: Patrick Bartels <p4ddy.b@gmail.com>
# Thanks to Bregol
pkgname="linux-zen-git"
-pkgver=4.7.0+603638+ga3aa051
+pkgver=4.7.2+603891+g3f5da1d
pkgdesc="Featureful kernel including various new features, code and optimizations to better suit desktops"
url="https://github.com/damentz/zen-kernel"
license=("GPL2")
@@ -46,6 +46,18 @@ pkgver() {
build() {
cd "${srcdir}/zen-kernel"
+
+ export CFLAGS=$CFLAGS:" -flto"
+ export CXXFLAGS=$CXXFLAGS:" -flto"
+ export LDFLAGS=$LDFLAGS:" -flto"
+
+ ./scripts/config --disable function_tracer \
+ --disable function_graph_tracer \
+ --disable stack_tracer --enable lto_menu \
+ --disable lto_disable \
+ --disable gcov \
+ --disable kallsyms_all \
+ --disable modversions
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh