1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/micropython: fix compilation with clang

This commit is contained in:
Marian Buschsieweke 2023-05-20 16:48:03 +02:00 committed by Marian Buschsieweke
parent 358636045e
commit 058150f221
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
2 changed files with 3 additions and 4 deletions

View File

@ -11,6 +11,8 @@ PKG_BUILD_OUT_OF_SOURCE = 0
include $(RIOTBASE)/pkg/pkg.mk
# Note: We have to explicitly override CC, as otherwise micropython will
# set its own CC.
all:
@mkdir -p $(PKG_BUILD_DIR)/tmp
BUILD=$(PKG_BUILD_DIR) "$(MAKE)" -C $(PKG_SOURCE_DIR)/ports/riot
BUILD=$(PKG_BUILD_DIR) "$(MAKE)" CC=$(CC) -C $(PKG_SOURCE_DIR)/ports/riot

View File

@ -10,6 +10,3 @@ INCLUDES += -I$(BINDIR)/pkg/micropython/ports/riot
# include archive
ARCHIVES += $(BINDIR)/micropython.a
# The port currently doesn't build with llvm
TOOLCHAINS_BLACKLIST += llvm