GCC: Ignore Clang pragmas
This commit is contained in:
parent
2509d95d98
commit
54480c1c3d
|
@ -145,6 +145,11 @@ CC_WARN += -Wno-error=implicit-fallthrough
|
||||||
CC_CXX_WARN_STRICT ?= -Wextra -Weffc++ -Werror -Wsuggest-override
|
CC_CXX_WARN_STRICT ?= -Wextra -Weffc++ -Werror -Wsuggest-override
|
||||||
CC_CXX_WARN ?= $(CC_WARN) $(CC_CXX_WARN_STRICT)
|
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++
|
# Aggregate compiler options that are common for C and C++
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue