GCC: Ignore Clang pragmas

This commit is contained in:
Ehmry - 2019-09-19 15:59:30 +02:00
parent 2509d95d98
commit 54480c1c3d
1 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,11 @@ CC_WARN += -Wno-error=implicit-fallthrough
CC_CXX_WARN_STRICT ?= -Wextra -Weffc++ -Werror -Wsuggest-override
CC_CXX_WARN ?= $(CC_WARN) $(CC_CXX_WARN_STRICT)
#
# Ignore Clang pragmas
#
CC_WARN += -Wno-error=unknown-pragmas
#
# Aggregate compiler options that are common for C and C++
#