]> git.tue.mpg.de Git - paraslash.git/commitdiff
Suppress gcc warning when compiling cmdline files.
authorAndre Noll <maan@systemlinux.org>
Tue, 29 Jun 2010 06:35:45 +0000 (08:35 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 29 Jun 2010 06:35:45 +0000 (08:35 +0200)
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

index d46da62a9e1792790e3b1ad8bd84f5faa787da98..0614c83bcc4b93579a44a01c251da744b9c30fda 100644 (file)
@@ -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 $<'