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:
parent
358636045e
commit
058150f221
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user