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,9 +44,13 @@ CSILENCE= -Wno-char-subscripts -Wno-error -Wno-implicit-function-declaration \
-Wno-deprecated-non-prototype -Wno-implicit-int -Wno-incompatible-pointer-types \
-Wno-unused-value
# Attempt to silence unknown warnings
#
CUNKNOWN= -Wno-unknown-warning-option
# Common C compiler warning flags
#
CWARN= -Wall -Wextra ${CSILENCE}
CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN}
# Compiler standard
#
@@ -54,9 +58,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
@@ -100,7 +101,7 @@ endif
#
ifeq "$(findstring $(GCC),${CC})" "$(GCC)"
#
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch
#
#CWARN+=
#
@@ -110,7 +111,7 @@ endif
#
ifeq ($(CC),cc)
#
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch -Wno-unknown-warning-option
CSILENCE+= -Wno-missing-parameter-type -Wno-builtin-declaration-mismatch
#
#CWARN+=
#