Implement NO_WCAST_QUAL for gcc4.2 architectures

This commit is contained in:
Conrad Meyer 2018-03-12 05:41:27 +00:00
parent b3995bb872
commit 0a646b9715
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330791

View File

@ -68,6 +68,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
.else
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
CWARNEXTRA?= -Wno-uninitialized
# GCC 4.2 doesn't have -Wno-error=cast-qual, so just disable the warning for
# the few files that are already known to generate cast-qual warnings.
NO_WCAST_QUAL= -Wno-cast-qual
.endif
.endif