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

pkg/wolfssl: add -Wno-cast-align

This commit is contained in:
Marian Buschsieweke 2021-11-04 15:29:21 +01:00
parent 939e206d58
commit 4ac6820860
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -11,6 +11,12 @@ include $(RIOTBASE)/pkg/pkg.mk
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710#c1
CFLAGS += -Wno-maybe-uninitialized
# wolfcrypt uses uint8_t for block buffers, on which fast
# 32 bit operations are performed. From a quick peek at the
# code it looks like the buffers are correctly aligned, so
# this is a false positive.
CFLAGS += -Wno-cast-align
.PHONY: wolfcrypt%
all: $(filter wolfcrypt wolfcrypt-test wolfcrypt-benchmark,$(USEMODULE))