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
@@ -45,11 +45,15 @@ CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-error \
-Wno-bitwise-op-parentheses -Wno-format -Wno-format-extra-args \
-Wno-int-conversion -Wno-unused-parameter -Wno-unsequenced \
-Wno-deprecated-non-prototype -Wno-unused-value \
-Wno-maybe-uninitialized -Wno-parentheses -Wno-unknown-warning-option
-Wno-maybe-uninitialized -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
#
@@ -57,9 +61,6 @@ CSTD= -std=gnu99
# Compiler bit architecture
#
# Some entries require 32-bitness: ARCH= -m32
# Some entries require 64-bitness: ARCH= -m64
#
ARCH=
# Defines that are needed to compile
@@ -94,7 +95,7 @@ CSILENCE+= -Wno-bad-function-cast -Wno-comma -Wno-format-nonliteral \
-Wno-missing-prototypes -Wno-missing-variable-declarations \
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes \
-Wno-unused-macros -Wno-shorten-64-to-32 -Wno-sign-conversion \
-Wno-unknown-warning-option -Wno-unsafe-buffer-usage
-Wno-unsafe-buffer-usage
#
CWARN+= -Weverything
#