diff --git a/pkg/monocypher/Makefile b/pkg/monocypher/Makefile index 90e7b7d925..a9b0657b3a 100644 --- a/pkg/monocypher/Makefile +++ b/pkg/monocypher/Makefile @@ -5,6 +5,8 @@ PKG_LICENSE=CC-0 include $(RIOTBASE)/pkg/pkg.mk +CFLAGS += -DBLAKE2_NO_UNROLLING + all: $(filter monocypher_optional,$(USEMODULE)) "$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) diff --git a/pkg/monocypher/Makefile.include b/pkg/monocypher/Makefile.include index faa98bf5c1..67916ad9c7 100644 --- a/pkg/monocypher/Makefile.include +++ b/pkg/monocypher/Makefile.include @@ -1,4 +1,2 @@ INCLUDES += -I$(PKGDIRBASE)/monocypher/src INCLUDES += -I$(PKGDIRBASE)/monocypher/src/optional - -CFLAGS += -DBLAKE2_NO_UNROLLING