2021-10-28 16:48:00 +02:00
|
|
|
INCLUDES += -I$(PKGDIRBASE)/fff
|
|
|
|
|
|
|
|
# There's nothing to build in this package, it's used as a header only library.
|
|
|
|
# So it's declared as a pseudo-module
|
|
|
|
PSEUDOMODULES += fff
|
2021-10-10 13:25:08 +02:00
|
|
|
|
|
|
|
# Tests don't need pedantic. Pedantic throws errors in variadic macros when compiling for C++
|
|
|
|
CXXEXFLAGS += -Wno-pedantic
|
2023-05-21 10:25:02 +02:00
|
|
|
|
|
|
|
ifeq (1,$(RIOT_CI_BUILD))
|
|
|
|
# TODO: remove this when the build containers clang is updated to version 16
|
|
|
|
TOOLCHAINS_BLACKLIST += llvm
|
|
|
|
else
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
|
|
ifneq (1,$(call version_is_greater_or_equal,$(LLVM_VERSION),16))
|
|
|
|
$(error package fff requires clang 16.0.0 or newer. Use GCC or update clang.)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|