Detect clang version, instead of assuming default one
Change-Id: I559fe4251169f489d89e30b3576f8da08fb0941b
This commit is contained in:
parent
8335a475fc
commit
a020815b8b
@ -47,9 +47,8 @@ CPPFLAGS+= ${SMP_FLAGS}
|
|||||||
__uname_s!= uname -s
|
__uname_s!= uname -s
|
||||||
.if ${__uname_s:Uunknown} == "Minix"
|
.if ${__uname_s:Uunknown} == "Minix"
|
||||||
USETOOLS?= never
|
USETOOLS?= never
|
||||||
. if ${USETOOLS:Uno} != "yes"
|
. if ${USETOOLS:Uno} != "yes" && ${HAVE_LLVM:U} == ""
|
||||||
#HAVE_LLVM?=2.9
|
HAVE_LLVM!= clang --version | grep version | cut -d' ' -f 3
|
||||||
HAVE_LLVM?=3.1
|
|
||||||
. endif
|
. endif
|
||||||
. if !defined(HOSTPROG) && !defined(HOSTLIB)
|
. if !defined(HOSTPROG) && !defined(HOSTLIB)
|
||||||
# LSC FIXME: Override MACHINE as the native minix host make command will set
|
# LSC FIXME: Override MACHINE as the native minix host make command will set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user