mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-28 23:49:47 +01:00
pkg/relifx: fix compilation with clang
This commit is contained in:
parent
639690eeb6
commit
53b08d9f38
@ -15,6 +15,11 @@ CFLAGS += -Wno-unused-function -Wno-old-style-definition -Wno-unused-parameter \
|
||||
-Wno-pedantic -Wno-array-parameter -Wno-unused-but-set-variable \
|
||||
-Wno-stringop-overflow
|
||||
|
||||
ifeq (llvm,$(TOOLCHAIN))
|
||||
CFLAGS += $(GCC_C_INCLUDES)
|
||||
CXXFLAGS += $(GCC_CXX_INCLUDES)
|
||||
endif
|
||||
|
||||
TOOLCHAIN_FILE = $(PKG_SOURCE_DIR)/xcompile-toolchain.cmake
|
||||
|
||||
all: $(BINDIR)/$(PKG_NAME).a
|
||||
|
@ -1,10 +1,3 @@
|
||||
INCLUDES += -I$(PKGDIRBASE)/relic/include
|
||||
INCLUDES += -I$(BINDIR)/pkg-build/relic/include
|
||||
ARCHIVES += $(BINDIR)/relic.a
|
||||
|
||||
ifneq (,$(filter cortex-m%,$(CPU_CORE)))
|
||||
# relic package package is not using system includes right now, so
|
||||
# many newlib headers (not even stdio.h) are not found.
|
||||
# Fixed in #9821 for jerryscript, should be applicable here too.
|
||||
TOOLCHAINS_BLACKLIST += llvm
|
||||
endif
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user