diff --git a/pkg/micropython/Makefile b/pkg/micropython/Makefile index d5fc6f1851..566013b74e 100644 --- a/pkg/micropython/Makefile +++ b/pkg/micropython/Makefile @@ -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 diff --git a/pkg/micropython/Makefile.include b/pkg/micropython/Makefile.include index b1aba6239a..27ed3d067d 100644 --- a/pkg/micropython/Makefile.include +++ b/pkg/micropython/Makefile.include @@ -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