diff options
| author | Siluxsept <ronny.horn.rh@gmail.com> | 2022-04-03 22:14:44 +0200 |
|---|---|---|
| committer | Siluxsept <ronny.horn.rh@gmail.com> | 2022-04-03 22:14:44 +0200 |
| commit | 14bbd155a8d15fbb7d727da9f00eb0983c7ea1e8 (patch) | |
| tree | 1e1fe3db130d9b5d2f9be048a318d72ff12183f5 /tools/scripts/Makefile.include | |
| parent | a4f55f0e0efcad25d70f6b7ed447b80943b7e58c (diff) | |
redbull: sync with LOS sources12.1
https: //github.com/LineageOS/android_kernel_google_redbull/tree/lineage-19.1
Change-Id: I1341c9315458259bcdab9f2cc32df6bcacce2fb4
Diffstat (limited to 'tools/scripts/Makefile.include')
| -rw-r--r-- | tools/scripts/Makefile.include | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/scripts/Makefile.include b/tools/scripts/Makefile.include index 8fc6b1ca47dc..42dbe05b1807 100644 --- a/tools/scripts/Makefile.include +++ b/tools/scripts/Makefile.include @@ -60,6 +60,16 @@ $(call allow-override,LD,$(CROSS_COMPILE)ld) $(call allow-override,CXX,$(CROSS_COMPILE)g++) $(call allow-override,STRIP,$(CROSS_COMPILE)strip) +ifneq ($(LLVM),) +HOSTAR ?= llvm-ar +HOSTCC ?= clang +HOSTLD ?= ld.lld +else +HOSTAR ?= ar +HOSTCC ?= gcc +HOSTLD ?= ld +endif + ifeq ($(CC_NO_CLANG), 1) EXTRA_WARNINGS += -Wstrict-aliasing=3 endif |
