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

pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt

Only when building with riscv toolchain, because the default optimization used can lead to this problem.
This commit is contained in:
Alexandre Abadie 2019-10-20 11:44:36 +02:00
parent 300c3abf2b
commit 02ff48751e
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -29,5 +29,10 @@ SRC += ge_low_mem.c
SRC += sp_int.c
SRC += sp_c32.c
# Disable maybe-uninitialized warning raised by the optimization level used
# by risv toolchain (-Og)
ifeq ($(TARGET_ARCH),riscv-none-embed)
CFLAGS += -Wno-maybe-uninitialized
endif
include $(RIOTBASE)/Makefile.base