diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 4 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-amd-znver2 pkgver = 6.2.v.6 - pkgrel = 1 + pkgrel = 2 url = https://www.kernel.org/ arch = x86_64 license = GPL2 @@ -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() { |