board/sim: Remove the too strict warning

The variable shadow is a frequently-used feature
(especially in c++), so let's disable this warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-11-11 21:19:16 +08:00 committed by Alan Carvalho de Assis
parent 3ccbcf3c28
commit e70bff723b

View File

@ -59,8 +59,8 @@ ifeq ($(CONFIG_CXX_EXCEPTION),)
ARCHCPUFLAGSXX += -fno-exceptions
endif
ARCHPICFLAGS = -fpic
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
ARCHWARNINGS = -Wstrict-prototypes -Wundef
ARCHWARNINGSXX = -Wundef
# Add -fvisibility=hidden
# Because we don't want export nuttx's symbols to share libraries