Commit fc281340 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: Die if NO_RELOCATION

parent 748b303e
......@@ -143,10 +143,6 @@ ifdef HAVE_DARWIN_OS_ON_INTEL
FFMPEGCONF += --enable-memalign-hack --cpu=pentium-m
endif
ifdef NO_TEXT_RELOCATION
FFMPEGCONF += --disable-mmx
endif
ifdef HAVE_DARWIN_OS
X264CONF += --enable-pic
ifdef HAVE_DARWIN_OS_ON_INTEL
......@@ -790,11 +786,7 @@ libtheora: libtheora-$(THEORA_VERSION).tar.bz2
ifdef HAVE_BEOS
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-sdltest --disable-oggtest --disable-vorbistest --disable-asm --disable-examples && make && make install)
else
ifdef NO_TEXT_RELOCATION
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-asm --disable-sdltest --disable-oggtest --disable-vorbistest --disable-asm --disable-examples && make && make install)
else
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-sdltest --disable-oggtest --disable-vorbistest --disable-examples && make && make install)
endif
endif
$(INSTALL_NAME)
touch $@
......@@ -1081,14 +1073,15 @@ endif
ifdef HAVE_DARWIN_OS
(cd $@/libswscale; patch -p0 < ../../Patches/ffmpeg-libswscale-head.patch)
endif
ifdef NO_TEXT_RELOCATION
(cd $@; patch -p0 < ../Patches/ffmpeg-svn-mmx_removal-darwin9.patch)
endif
ifdef HAVE_UCLIBC
patch -p0 < Patches/ffmpeg-svn-uclibc.patch
patch -p0 < Patches/ffmpeg-svn-internal-define.patch
patch -p0 < Patches/ffmpeg-svn-libavformat.patch
endif
ifdef NO_TEXT_RELOCATION
echo "Broken LD. Fix your tools."
exit -1
endif
else
ffmpeg-$(FFMPEG_VERSION).tar.gz:
echo "ffmpeg snapshot is too old, you MUST use subversion !"
......
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