소스 검색

Enable clang LTO on desktop

Donald Carr 4 년 전
부모
커밋
af0afa8c32
2개의 변경된 파일90개의 추가작업 그리고 105개의 파일을 삭제
  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"

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 86 - 103
desktop


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.