Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 8d9fb6b4 authored by Nathan Chancellor's avatar Nathan Chancellor
Browse files

Makefile: Fix 4.9.161 merge



There is no variable called CROSS_TRIPLE, it should be CLANG_TRIPLE.

Change-Id: Ibd6cff6afb2522402ea5bd288a267a5e0636da98
Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
parent 9df256d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -508,7 +508,7 @@ endif
ifeq ($(cc-name),clang)
ifneq ($(CROSS_COMPILE),)
CLANG_TRIPLE	?= $(CROSS_COMPILE)
CLANG_FLAGS	:= --target=$(notdir $(CROSS_TRIPLE:%-=%))
CLANG_FLAGS	:= --target=$(notdir $(CLANG_TRIPLE:%-=%))
ifeq ($(shell $(srctree)/scripts/clang-android.sh $(CC) $(CLANG_FLAGS)), y)
$(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?")
endif