add CUNKNOWN make variables to entry Makefiles

This commit is contained in:
Landon Curt Noll committed 2024-06-30 21:29:27 -07:00
1 parent 4d37308d12
commit 50a2a6293c
321 files changed
+1952 -1733

No files matched your search

+9 -9
View File
@@ -40,13 +40,16 @@ include ../../var.mk
#
CSILENCE= -Wno-unused-value -Wno-implicit-fallthrough -Wno-parentheses \
-Wno-binding-in-condition -Wno-binding-in-condition \
-Wno-misleading-indentation -Wno-unknown-warning-option \
-Wno-comment -Wno-implicit-function-declaration \
-Wno-misleading-indentation -Wno-comment -Wno-implicit-function-declaration \
-Wno-misleading-indentation -Wno-unused-value
# 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
#
@@ -54,9 +57,6 @@ CSTD= -std=gnu17
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
@@ -90,9 +90,9 @@ CC= cc
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE= -Wno-unused-value -Wno-misleading-indentation -Wno-parentheses \
-Wno-unknown-warning-option -Wno-poison-system-directories \
-Wno-declaration-after-statement -Wno-padded \
-Wno-extra-semi-stmt -Wno-implicit-fallthrough -Wno-unsafe-buffer-usage
-Wno-poison-system-directories -Wno-declaration-after-statement \
-Wno-padded -Wno-extra-semi-stmt -Wno-implicit-fallthrough \
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#