sys: Disable errors for -Wunused-function on GCC.

This matches the handling of this warning on clang.
This commit is contained in:
John Baldwin 2023-03-30 15:43:48 -07:00
parent f0bef3d20e
commit 47d1e67874

View File

@ -74,6 +74,7 @@ CWARNEXTRA?= -Wno-error=address \
-Wno-error=sequence-point \
-Wno-error=shift-overflow \
-Wno-error=tautological-compare \
-Wno-error=unused-function \
-Wno-unused-but-set-variable
.if ${COMPILER_VERSION} >= 70100
CWARNEXTRA+= -Wno-error=stringop-overflow