summaryrefslogtreecommitdiff
path: root/AndroidKernel.mk
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2020-05-04 09:11:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-05-04 09:11:18 -0700
commit17d11a848a15a725936c90df57bd225dcc60ec00 (patch)
tree952db538797f0712c63a9cb41fe872fd7b7ca4ac /AndroidKernel.mk
parentcad25d22c781465a207ac26727d4fe387bff1889 (diff)
parent2ba37a00a2a2353e2929e48c789a7f6a38463ef1 (diff)
Merge "Makefile: Disable undefined-optimized and tautological features"
Diffstat (limited to 'AndroidKernel.mk')
-rw-r--r--AndroidKernel.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/AndroidKernel.mk b/AndroidKernel.mk
index e5ecb099e535..1e4726094308 100644
--- a/AndroidKernel.mk
+++ b/AndroidKernel.mk
@@ -52,11 +52,11 @@ ifeq ($(KERNEL_LLVM_SUPPORT), true)
ifeq ($(shell echo $(SDCLANG_PATH) | head -c 1),/)
KERNEL_LLVM_BIN := $(SDCLANG_PATH)/clang
else
- KERNEL_LLVM_BIN := $(ANDROID_BUILD_TOP)/$(SDCLANG_PATH)/clang
+ KERNEL_LLVM_BIN := $(shell pwd)/$(SDCLANG_PATH)/clang
endif
$(warning "Using sdllvm" $(KERNEL_LLVM_BIN))
else
- KERNEL_LLVM_BIN := $(ANDROID_BUILD_TOP)/$(CLANG) #Using aosp-llvm compiler
+ KERNEL_LLVM_BIN := $(shell pwd)/$(CLANG) #Using aosp-llvm compiler
$(warning "Using aosp-llvm" $(KERNEL_LLVM_BIN))
endif
endif