-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.

Originally committed as revision 20613 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-11-25 23:29:36 +00:00
parent 154f5b5c9b
commit ff09a99ef5
1 changed files with 2 additions and 0 deletions

View File

@ -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