pkg/monocypher: reduce scope of CFLAGS

This commit is contained in:
Alexandre Abadie 2020-06-12 17:20:46 +02:00
parent 67f117d997
commit e620d37924
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -1,4 +1,2 @@
INCLUDES += -I$(PKGDIRBASE)/monocypher/src
INCLUDES += -I$(PKGDIRBASE)/monocypher/src/optional
CFLAGS += -DBLAKE2_NO_UNROLLING