add CUNKNOWN make variables to entry Makefiles
This commit is contained in:
1 parent
4d37308d12
commit
50a2a6293c
321 files changed
+1952
-1733
No files matched your search
@@ -42,20 +42,21 @@ CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration -Wno-imp
|
||||
-Wno-int-to-pointer-cast -Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-builtin-declaration-mismatch -Wno-misleading-indentation \
|
||||
-Wno-missing-parameter-type -Wno-parentheses -Wno-return-type \
|
||||
-Wno-unused-value -Wno-unknown-warning-option
|
||||
-Wno-unused-value
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
CSTD= -std=gnu89
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
# Compiler standard
|
||||
#
|
||||
ARCH=
|
||||
|
||||
@@ -89,7 +90,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-comma -Wno-missing-prototypes -Wno-missing-variable-declarations \
|
||||
-Wno-pedantic -Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
|
||||
-Wno-unused-macros -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
|
||||
-Wno-unused-macros -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user