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
+6
-6
@@ -43,9 +43,13 @@ CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \
|
||||
-Wno-strict-prototypes -Wno-implicit-int -Wno-unused-parameter \
|
||||
-Wno-misleading-indentation
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
CUNKNOWN= -Wno-unknown-warning-option
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
|
||||
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
|
||||
|
||||
# Compiler standard
|
||||
#
|
||||
@@ -53,9 +57,6 @@ CSTD= -std=gnu90
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Variable to simplify reconfiguring sleep time for alternate code
|
||||
@@ -92,8 +93,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
CSILENCE+= -Wno-comma -Wno-missing-variable-declarations \
|
||||
-Wno-poison-system-directories -Wno-strict-prototypes \
|
||||
-Wno-format-nonliteral -Wno-sign-conversion \
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-incompatible-function-pointer-types-strict -Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user