mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
top(1): increase warnings
top(1) now builds without cast-qual warnings, so remove the exemption for that. Tested with clang, gcc7, gcc9
This commit is contained in:
parent
8caf462ef6
commit
00abcb6acd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335552
@ -9,12 +9,12 @@ MAN= top.1
|
||||
|
||||
.if ${COMPILER_TYPE} == "gcc"
|
||||
.if ${COMPILER_VERSION} >= 50000
|
||||
CFLAGS.gcc=-Wno-error=cast-qual -Wno-error=discarded-qualifiers -Wno-error=incompatible-pointer-types
|
||||
CFLAGS.gcc=-Wno-error=discarded-qualifiers -Wno-error=incompatible-pointer-types
|
||||
.else #base gcc
|
||||
NO_WERROR=
|
||||
.endif
|
||||
.endif
|
||||
CFLAGS.clang=-Wno-error=incompatible-pointer-types-discards-qualifiers -Wno-error=cast-qual
|
||||
CFLAGS.clang=-Wno-error=incompatible-pointer-types-discards-qualifiers
|
||||
|
||||
LIBADD= ncursesw m kvm jail util sbuf
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user