diff options
author | egnappahz | 2023-03-14 16:17:01 +0100 |
---|---|---|
committer | egnappahz | 2023-03-14 16:17:01 +0100 |
commit | 5113a18fb8b685fd3dec0b2d12ec3148eb8f1f2a (patch) | |
tree | 5b036f078037ae9fe98e3a09e4ac15a9ddf1b079 /PKGBUILD | |
parent | 0cdba14c1ad576658e3363d5327138a1d8c2843a (diff) | |
download | aur-5113a18fb8b685fd3dec0b2d12ec3148eb8f1f2a.tar.gz |
Updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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() { |