Explorar o código

Enable clang LTO on desktop

Donald Carr %!s(int64=4) %!d(string=hai) anos
pai
achega
af0afa8c32
Modificáronse 2 ficheiros con 90 adicións e 105 borrados
  1. 4 2
      PKGBUILD
  2. 86 103
      desktop

+ 4 - 2
PKGBUILD

@@ -6,7 +6,7 @@ options=('!strip')
 # The firmware the kernel produces blows: don't falsify this lightly
 # "linux-firmware=20170309.695f2d6-1"
 pkgrel=1
-pkgver=5.11.rc5.50.g2a5c41f21ebd
+pkgver=5.11.10679.g381aff47f157
 pkgdesc="Kernel build from head"
 arch=("x86_64" "aarch64" "armv7h")
 license=("GPL2.1")
@@ -203,7 +203,9 @@ if [ -n "${LOCAL_PI_VER}" ]; then
     esac
 else
     echo "Compiling for desktop"
-    _xcompile_args="CC=clang HOSTCC=clang"
+    # wasted a lot of time manually tracking this shit down before finding this doc, like a muppet
+    # Documentation/kbuild/llvm.rst
+    _xcompile_args="LLVM=1 LLVM_IAS=1"
     #_xcompile_args=""
     _config_file="${startdir}/desktop"
     #_config_file="${_kernel_src_dir}/configs/desktop"

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 86 - 103
desktop


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio