Silence GCC's -Wno-unused-result during bootstrap
Unlike clang, GCC still warns even with (void) casts (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425)
This commit is contained in:
parent
266b51ac6e
commit
0a81de38dc
@ -96,3 +96,6 @@ UPDATE_DEPENDFILE= no
|
||||
Error was caused by Makefile in ${.CURDIR}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# GCC doesn't allow silencing warn_unused_result calls with (void) casts.
|
||||
CFLAGS.gcc+=-Wno-unused-result
|
||||
|
Loading…
Reference in New Issue
Block a user