From 6bd37e0b283dd3b04d13d98ce05b33dbf6a53993 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 22 Jul 2012 01:12:24 +0200 Subject: [PATCH] build: Drop gcc-specific warning flag from header compilation rule The flag was added to avoid excessive warning spam, but nowadays those warnings no longer occur in such large numbers as to require silencing. Besides, gcc-specific flags do not belong in the Makefiles. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28568f98c7..478ffcab4b 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ COMPILE_S = $(call COMPILE,AS) $(COMPILE_S) %.ho: %.h - $(CC) $(CPPFLAGS) $(CFLAGS) -Wno-unused -c -o $@ -x c $< + $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ -x c $< %.ver: %.v $(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@