summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-11-25 23:29:36 +0000
committerDiego Biurrun <diego@biurrun.de>2009-11-25 23:29:36 +0000
commitff09a99ef5f2e8dc450a29484455592652593902 (patch)
treef49abd480473c7e9bb8e46435075d5f2eb389c72
parent154f5b5c9b84314f4d54afb27f5b43af9b7875b7 (diff)
-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.
Originally committed as revision 20613 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index dc572e8cf4..094cceda50 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