Commit 1179d4c8 authored by Seblu's avatar Seblu
Browse files

Export LLVM and LLVM_IAS

kbuild read them from environment, so only put them as makefile var is not
sufficient
parent f82d4e5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ prepare() {
  # early makefile patching achieve 2 goals. Firstly, avoid adding variables to
  # each make call. Secondly, it is later used by tools (e.g dkms) to build
  # out-of-tree modules.
  sed -e '7iLLVM = 1' -e '7iLLVM_IAS = 1' -i "Makefile"
  echo -e "\nLLVM = 1\nLLVM_IAS = 1\nexport LLVM LLVM_IAS" >> scripts/Kbuild.include
}

pkgver() {