diff options
author | eggz | 2023-03-14 16:19:12 +0100 |
---|---|---|
committer | eggz | 2023-03-14 16:19:12 +0100 |
commit | 7f251ccde7c1d3204ae500005bcc3136a1fa4ebd (patch) | |
tree | 3e2981cbb913509288eaf2fddb6a26572161856a /PKGBUILD | |
parent | 5b161616e1bbb8442be994527dacd92da82963e4 (diff) | |
download | aur-7f251ccde7c1d3204ae500005bcc3136a1fa4ebd.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') @@ -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() { |