summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoregnappahz2023-03-14 16:17:01 +0100
committeregnappahz2023-03-14 16:17:01 +0100
commit5113a18fb8b685fd3dec0b2d12ec3148eb8f1f2a (patch)
tree5b036f078037ae9fe98e3a09e4ac15a9ddf1b079 /PKGBUILD
parent0cdba14c1ad576658e3363d5327138a1d8c2843a (diff)
downloadaur-5113a18fb8b685fd3dec0b2d12ec3148eb8f1f2a.tar.gz
Updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cf165b00b074..5c4a0fba094c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ gitver=v6.2.6
patchver=20230105
patchname=more-uarches-for-kernel-5.17+.patch
pkgver=6.2.v.6
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="https://www.kernel.org/"
license=('GPL2')
@@ -77,10 +77,8 @@ prepare() {
build() {
cd "${_srcname}"
- #Force zenv2 architecture optimisation.
- export CFLAGS="-march=znver2 -mtune=znver2 -O2 -pipe -fstack-protector-strong"
- export CXXFLAGS="${CFLAGS}"
- make ${MAKEFLAGS} LOCALVERSION= bzImage modules
+ #Force zenv2 architecture optimisation and other optimisations.
+ make ${MAKEFLAGS} LOCALVERSION= bzImage modules KCFLAGS="-O2 -pipe -march=znver2 -mtune=znver2 -fstack-protector-strong"
}
_package() {