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

+7 -8
View File
@@ -39,12 +39,15 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-parentheses -Wno-empty-body -Wno-strict-prototypes \
-Wno-format-overflow -Wno-int-in-bool-context -Wno-misleading-indentation \
-Wno-unknown-warning-option
-Wno-format-overflow -Wno-int-in-bool-context -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
#
@@ -52,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
@@ -88,8 +88,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-float-conversion \
-Wno-implicit-int-conversion -Wno-extra-semi-stmt \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage \
-Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage -Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#