summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoreggz2023-03-14 16:19:12 +0100
committereggz2023-03-14 16:19:12 +0100
commit7f251ccde7c1d3204ae500005bcc3136a1fa4ebd (patch)
tree3e2981cbb913509288eaf2fddb6a26572161856a /PKGBUILD
parent5b161616e1bbb8442be994527dacd92da82963e4 (diff)
downloadaur-7f251ccde7c1d3204ae500005bcc3136a1fa4ebd.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 5e3d77e8b75c..e31f077fe9f1 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')
@@ -78,10 +78,8 @@ prepare() {
build() {
cd "${_srcname}"
- #Force zenv1 architecture optimisation.
- export CFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe -fstack-protector-strong"
- export CXXFLAGS="${CFLAGS}"
- make ${MAKEFLAGS} LOCALVERSION= bzImage modules
+ #Force zenv1 architecture optimisation and other optimisations.
+ make ${MAKEFLAGS} LOCALVERSION= bzImage modules KCFLAGS="-O2 -pipe -march=znver1 -mtune=znver1 -fstack-protector-strong"
}
_package() {