mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
Move warning option from Make.defs to Toolchain.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
8b7c5b039d
commit
1f920e55d3
@@ -78,6 +78,9 @@ endif
|
||||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
|
||||
ifneq ($(CONFIG_CXX_EXCEPTION),y)
|
||||
ARCHCXXFLAGS += -fno-exceptions -fcheck-new
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user