Commit 08b3fcc6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* ugly compilation fix for ffmpeg on PPC-GCC 4.0.0

parent 9b2b219e
...@@ -117,6 +117,9 @@ endif ...@@ -117,6 +117,9 @@ endif
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
X264CONF += --enable-pic X264CONF += --enable-pic
ifneq ($(HOST),i686-apple-darwin8)
FFMPEG_CFLAGS += -DHAVE_LRINTF
endif
endif endif
# *************************************************************************** # ***************************************************************************
...@@ -915,7 +918,7 @@ ifdef HAVE_WINCE ...@@ -915,7 +918,7 @@ ifdef HAVE_WINCE
else else
.ffmpeg: ffmpeg .faac .lame .ffmpeg: ffmpeg .faac .lame
endif endif
(cd $<; $(HOSTCC) ./configure $(FFMPEGCONF) --prefix=$(PREFIX) --extra-cflags="$(CFLAGS) -DRUNTIME_CPUDETECT" --extra-ldflags="$(LDFLAGS)" --enable-gpl --enable-pp --disable-vhook --disable-ffserver --disable-network --enable-a52 --disable-ffplay && make install-libs install-headers) (cd $<; $(HOSTCC) ./configure $(FFMPEGCONF) --prefix=$(PREFIX) --extra-cflags="$(CFLAGS) $(FFMPEG_CFLAGS) -DRUNTIME_CPUDETECT" --extra-ldflags="$(LDFLAGS)" --enable-gpl --enable-pp --disable-vhook --disable-ffserver --disable-network --enable-a52 --disable-ffplay && make install-libs install-headers)
touch $@ touch $@
CLEAN_FILE += .ffmpeg CLEAN_FILE += .ffmpeg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment