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
@@ -41,9 +41,13 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-constant-conversion -Wno-implicit-int -Wno-string-plus-char \
|
||||
-Wno-unused-value -Wno-parentheses
|
||||
|
||||
# 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
|
||||
#
|
||||
@@ -51,9 +55,6 @@ CSTD= -std=gnu11
|
||||
|
||||
# Compiler bit architecture
|
||||
#
|
||||
# Some entries require 32-bitness: ARCH= -m32
|
||||
# Some entries require 64-bitness: ARCH= -m64
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# Defines that are needed to compile
|
||||
@@ -85,9 +86,9 @@ CC= cc
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-cast-align -Wno-comma -Wno-implicit-int-conversion \
|
||||
-Wno-poison-system-directorie -Wno-unknown-warning-option \
|
||||
-Wno-poison-system-directories -Wno-extra-semi-stmt \
|
||||
-Wno-misleading-indentation -Wno-unsafe-buffer-usage
|
||||
-Wno-poison-system-directorie -Wno-poison-system-directories \
|
||||
-Wno-extra-semi-stmt \Wno-misleading-indentation \
|
||||
-Wno-unsafe-buffer-usage
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user