diff --git a/Config.mk b/Config.mk index 7d08d16957..bff4dc5584 100644 --- a/Config.mk +++ b/Config.mk @@ -213,8 +213,7 @@ CFLAGS += -std=gnu99 CFLAGS += -Wall -Wstrict-prototypes # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' -# and is a bit too fierce about unused return values -CFLAGS-$(clang) += -Wno-parentheses -Wno-unused-value +CFLAGS-$(clang) += -Wno-parentheses $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement) $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)