Advertisement
Guest User

Untitled

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