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:
parent
300c3abf2b
commit
02ff48751e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user