From 132ab22db97d57c688b2a4cda4a905aee17cf5b0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 1 Apr 2015 02:50:27 +0000 Subject: [PATCH] build: Add -Wunused-macros to CPPFLAGS on Linux. We already specify -Wunused which combines all -Wunused options but does not activate the -Wunused-macros cpp warning. --- Makefile.real | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.real b/Makefile.real index c5d64058..1ceb3e96 100644 --- a/Makefile.real +++ b/Makefile.real @@ -110,6 +110,7 @@ LDFLAGS += $(clock_gettime_ldflags) ifeq ($(uname_s),Linux) # these cause warnings on *BSD + CPPFLAGS += -Wunused-macros STRICT_CFLAGS += -fdata-sections -ffunction-sections STRICT_CFLAGS += -Wstrict-prototypes STRICT_CFLAGS += -Wshadow -- 2.39.5