We need these macros at several places, but each of them causes
a compilier warning on FreeBSD and NetBSD where these macros are
not used at all.
This patch moves the -Wunused-macros option to the Linux-only
section.
LDFLAGS += -Wl,--gc-sections
CPPFLAGS += -Wstrict-prototypes
CPPFLAGS += -Wshadow
+ # causes warnings on *BSD for the feature test macros
+ CPPFLAGS += -Wunused-macros
endif
CPPFLAGS += -Os
CPPFLAGS += -Wuninitialized
CPPFLAGS += -DCC_VERSION='"$(cc_version)"'
CPPFLAGS += -Werror-implicit-function-declaration
CPPFLAGS += -Wmissing-noreturn
-CPPFLAGS += -Wunused-macros
CPPFLAGS += -Wbad-function-cast
CPPFLAGS += -fno-strict-aliasing
CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F)