[vlc-devel] commit: Contribs: Die if NO_RELOCATION (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Sep 20 00:30:38 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 19 15:32:37 2008 -0700| [fc281340d02632f2953369f02ae164b88b88a905] | committer: Jean-Baptiste Kempf
Contribs: Die if NO_RELOCATION
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fc281340d02632f2953369f02ae164b88b88a905
---
extras/contrib/src/Makefile | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 4371c0b..075414f 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -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 !"
More information about the vlc-devel
mailing list