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 -6
View File
@@ -44,11 +44,15 @@ CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-deprecated-non-prototype -Wno-pointer-to-int-cast -Wno-return-type \
-Wno-strict-prototypes -Wno-uninitialized -Wno-unused-parameter \
-Wno-address -Wno-builtin-declaration-mismatch -Wno-sequence-point \
-Wno-unknown-warning-option -Wno-int-to-pointer-cast
-Wno-int-to-pointer-cast
# 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
#
@@ -56,9 +60,6 @@ CSTD= -std=gnu89
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
@@ -93,7 +94,7 @@ ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
#
CSILENCE+= -Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-strict-prototypes -Wno-unreachable-code \
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage -Wno-unknown-warning-option
-Wno-extra-semi-stmt -Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#