Mercurial > libavcodec.hg
diff Makefile @ 10571:c408fca01d49 libavcodec
-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.
author | diego |
---|---|
date | Wed, 25 Nov 2009 23:29:36 +0000 |
parents | 9b56cd1e37b7 |
children | 2980d9efc542 |
line wrap: on
line diff
--- a/Makefile Wed Nov 25 23:24:09 2009 +0000 +++ b/Makefile Wed Nov 25 23:29:36 2009 +0000 @@ -704,8 +704,10 @@ 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