From 8d00849555d99c5434610753ad0e4cc93fb7bb64 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 29 Jun 2010 08:35:45 +0200 Subject: [PATCH] Suppress gcc warning when compiling cmdline files. Use -Wno-unused-function when compiling *.cmdline.o files to get rid of the annoying warning cmdline/mp3dec_filter.cmdline.c:174:1: warning: 'free_string_field' defined but not used --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index d46da62a..0614c83b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -179,7 +179,7 @@ $(object_dir)/aac_afh.o: aac_afh.c | $(object_dir) $(object_dir)/%.cmdline.o: $(cmdline_dir)/%.cmdline.c $(cmdline_dir)/%.cmdline.h | $(object_dir) @[ -z "$(Q)" ] || echo 'CC $<' - $(Q) $(CC) -c $(CPPFLAGS) -o $@ $< + $(Q) $(CC) -c $(CPPFLAGS) -Wno-unused-function -o $@ $< $(object_dir)/%.o: %.c | $(object_dir) @[ -z "$(Q)" ] || echo 'CC $<' -- 2.39.5