Commit 9d5ff5b9 authored by Seblu's avatar Seblu
Browse files

Patch kernel makefile to use LLVM

parent eefdffff
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -131,6 +131,10 @@ install_sources() {
    [[ -e "$i" ]] && install -m644 "$i" "$kernsrc/$i"
  done

  msg2 'Force use of LLVM in makefile'
  # used by to build modules with right compiler (e.g dkms)
  sed -e '7iLLVM = 1' -e '7iLLVM_IAS = 1' -i "$kernsrc/Makefile"

  msg2 'Installing scripts'
  cp -t "$kernsrc" -a scripts