From: Diego Biurrun Date: Wed, 25 Nov 2009 23:29:36 +0000 (+0000) Subject: -DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho. X-Git-Tag: v0.6~2570 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff09a99ef5f2e8dc450a29484455592652593902;p=platform%2Fupstream%2Flibav.git -DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho. Originally committed as revision 20613 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/Makefile b/libavcodec/Makefile index dc572e8..094cced 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -704,8 +704,10 @@ $(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF) ifdef CONFIG_MPEGAUDIO_HP $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23 +$(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=23 else $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15 +$(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=15 endif $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c