1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +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:
Marian Buschsieweke 2023-05-21 10:24:14 +02:00 committed by Marian Buschsieweke
parent 7dd7d1e3a7
commit e8bb46ece6
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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)