[FFmpeg-cvslog] build: Drop gcc-specific warning flag from header compilation rule

Diego Biurrun git at videolan.org
Sun Jul 22 23:56:51 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Jul 22 01:12:24 2012 +0200| [6bd37e0b283dd3b04d13d98ce05b33dbf6a53993] | committer: Diego Biurrun

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6bd37e0b283dd3b04d13d98ce05b33dbf6a53993
---

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 28568f9..478ffca 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)/' $^ > $@



More information about the ffmpeg-cvslog mailing list