Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -ruN a/PKGBUILD b/PKGBUILD
- --- a/PKGBUILD 2021-01-17 15:51:38.076373066 +0100
- +++ b/PKGBUILD 2021-01-19 18:57:00.490279062 +0100
- @@ -46,7 +46,7 @@
- # 31. Intel Tiger Lake (MTIGERLAKE)
- # 32. Generic-x86-64 (GENERIC_CPU)
- # 33. Native optimizations autodetected by GCC (MNATIVE)
- -_subarch=33
- +_subarch=13
- # Compile ONLY used modules to VASTLY reduce the number of modules built
- # and the build time.
- @@ -80,13 +80,13 @@
- license=('GPL2')
- makedepends=('bc' 'cpio' 'git' 'kmod' 'libelf' 'xmlto')
- options=('!strip')
- -_gcc_more_v='20200615'
- +_gcc_more_v='336bf6de60ac60a71f1d29bfa554587805ea80a2'
- source=(
- "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.tar.xz"
- "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.tar.sign"
- "https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
- "clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=${_clr}"
- - "enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz"
- + "enable_additional_cpu_optimizations-$_gcc_more_v.zip::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.zip"
- 'pci-enable-overrides-for-missing-acs-capabilities.patch'
- '0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch'
- )
- @@ -180,8 +180,8 @@
- ### Patch source to unlock additional gcc CPU optimizations
- # https://github.com/graysky2/kernel_gcc_patch
- if [ "${_enable_gcc_more_v}" = "y" ]; then
- - echo "Applying enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v10.1+_kernel_v5.8+.patch ..."
- - patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.8+.patch"
- + echo "Applying enable_additional_cpu_optimizations_for_gcc_v11.0+_kernel_v5.10+.patch ..."
- + patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v11.0+_kernel_v5.10+.patch"
- fi
- ### Get kernel version
- @@ -355,7 +355,7 @@
- 'SKIP'
- 'fc89eb1b4ede1ab0331df04e33d6581aa3c1e7195aa771b0378cc292c00be892'
- 'SKIP'
- - '278fe9ffb29d92cc5220e7beac34a8e3a2006e714d16a21a0427069f9634af90'
- + '44d9c87bf7df4c9b85ebb5d93fcce67ef4ff6496d479990b5a2ac45354c23891'
- '2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e'
- '261574aeee09864929d44a5f9896ad2645fe4539d9ee8a86575bd19a07eed865')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement