mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +01:00
makefiles/toolchain/llvm.inc.mk: provide LLVM_VERSION
We already have GCC_VERSION, so let's also have LLVM_VERSION.
This commit is contained in:
parent
7dd7d1e3a7
commit
e8bb46ece6
@ -90,3 +90,5 @@ CFLAGS += -Wno-unknown-warning-option
|
||||
OPTIONAL_CFLAGS_BLACKLIST += -fno-delete-null-pointer-checks
|
||||
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-overflow
|
||||
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-truncation
|
||||
|
||||
LLVM_VERSION := $(shell command -v $(CC) > /dev/null && $(CC) -dumpversion | cut -d . -f 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user