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

Skip to content
Commit 5631d9c4 authored by Michal Marek's avatar Michal Marek
Browse files

kbuild: Fix clang detection



We cannot detect clang before including the arch Makefile, because that
can set the default cross compiler. We also cannot detect clang after
including the arch Makefile, because powerpc wants to know about clang.
Solve this by using an deferred variable. This costs us a few shell
invocations, but this is only a constant number.

Reported-by: default avatarBehan Webster <behanw@converseincode.com>
Reported-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent d179e227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment