cmake: Add a compatible old GCC flag, fix the cmake example building

This commit is contained in:
Anton Maklakov
2018-09-18 13:07:21 +08:00
parent 3471d369f9
commit 90d4a1d1e9
4 changed files with 68 additions and 7 deletions

View File

@@ -157,10 +157,11 @@ echo -e "\nFound issues:"
# Ignore the next messages:
# "error.o" or "-Werror" in compiler's command line
# "reassigning to symbol" or "changes choice state" in sdkconfig
# Compiler and toochain versions is not supported from make/project.mk
# 'Compiler and toochain versions is not supported' from make/project.mk
IGNORE_WARNS="\
library/error\.o\
\|\ -Werror\|error\.d\
\|\ -Werror\
\|error\.d\
\|reassigning to symbol\
\|changes choice state\
\|Compiler version is not supported\