From: Andre Noll Date: Tue, 29 Jun 2010 06:35:45 +0000 (+0200) Subject: Suppress gcc warning when compiling cmdline files. X-Git-Tag: v0.4.3~5 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=8d00849555d99c5434610753ad0e4cc93fb7bb64;p=paraslash.git 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 --- 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 $<'