Commit cabe90df authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: use GCC 4.2.1 for libgoom2k4, too.

Updated binary packages are on the way.
parent ebf4277a
...@@ -335,8 +335,8 @@ if test $HAVE_DARWIN_9; then ...@@ -335,8 +335,8 @@ if test $HAVE_DARWIN_9; then
set +x set +x
echo echo
echo "*****************************************************************" echo "*****************************************************************"
echo "* We are using the llvm-gcc-4.2 compiler on OS X by default, *" echo "* We are using both the llvm-gcc-4.2 and the gcc-4.2 compilers *"
echo "* so compilation will fail if it isn't installed. *" echo "* on OS X, so compilation will fail if these are not installed. *"
echo "*****************************************************************" echo "*****************************************************************"
fi fi
...@@ -346,9 +346,9 @@ if test $HAVE_DARWIN_10; then ...@@ -346,9 +346,9 @@ if test $HAVE_DARWIN_10; then
echo "*****************************************************************" echo "*****************************************************************"
echo "* You are running Darwin 10. *" echo "* You are running Darwin 10. *"
echo "* For testing purposes, VLC will be compiled in 64bit mode. *" echo "* For testing purposes, VLC will be compiled in 64bit mode. *"
echo "* While doing so, for time being, the 10.5 SDK is used. *" echo "* While doing so, for the time being, the 10.5 SDK is used. *"
echo "* Note that in contrast to our Darwin 9 builds, we are not *" echo "* Note that in contrast to our Darwin 9 builds, we are not *"
echo "* using the llvm compiler, but plain GCC 4.2. *" echo "* using the llvm compiler, but GCC 4.2. *"
echo "*****************************************************************" echo "*****************************************************************"
set -x set -x
fi fi
...@@ -156,10 +156,10 @@ endif ...@@ -156,10 +156,10 @@ endif
ifdef HAVE_DARWIN_OS_ON_INTEL ifdef HAVE_DARWIN_OS_ON_INTEL
FFMPEG_CFLAGS += -DHAVE_LRINTF FFMPEG_CFLAGS += -DHAVE_LRINTF
endif endif
X264CC+= CC="/Developer/usr/bin/gcc-4.2" NONLLVMCC+= CC="/Developer/usr/bin/gcc-4.2"
X264CC+= CXX="/Developer/usr/bin/g++-4.2" NONLLVMCC+= CXX="/Developer/usr/bin/g++-4.2"
else else
X264CC+= $(HOSTCC) NONLLVMCC+= $(HOSTCC)
endif endif
ifdef HAVE_AMR ifdef HAVE_AMR
...@@ -1328,15 +1328,13 @@ ifdef HAVE_WIN32 ...@@ -1328,15 +1328,13 @@ ifdef HAVE_WIN32
(cd $@; dos2unix configure.in) (cd $@; dos2unix configure.in)
patch -p0 < Patches/goom2k4-0-win32.patch patch -p0 < Patches/goom2k4-0-win32.patch
else else
ifndef HAVE_DARWIN_OS
patch -p0 < Patches/goom2k4-0-mmx.patch patch -p0 < Patches/goom2k4-0-mmx.patch
endif
endif endif
patch -p0 < Patches/goom2k4-0-memleaks.patch patch -p0 < Patches/goom2k4-0-memleaks.patch
.goom2k4: goom .goom2k4: goom
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
(cd $<; ./configure --prefix=$(PREFIX) --disable-shared --enable-static && make && make install) (cd $<; $(NONLLVMCC) ./configure --prefix=$(PREFIX) --disable-shared --enable-static && make && make install)
else else
(cd $< && rm -f configure; aclocal -I m4/ && automake --add-missing && autoconf configure.in > configure && $(HOSTCC) sh ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-shared --enable-static --disable-glibtest --disable-gtktest && make && make install) (cd $< && rm -f configure; aclocal -I m4/ && automake --add-missing && autoconf configure.in > configure && $(HOSTCC) sh ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-shared --enable-static --disable-glibtest --disable-gtktest && make && make install)
endif endif
...@@ -1439,10 +1437,10 @@ ifdef HAVE_WIN32 ...@@ -1439,10 +1437,10 @@ ifdef HAVE_WIN32
else else
ifdef HAVE_DARWIN_OS_ON_INTEL ifdef HAVE_DARWIN_OS_ON_INTEL
.x264: x264 .yasm .x264: x264 .yasm
(cd $<; $(X264CC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install) (cd $<; $(NONLLVMCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
else else
.x264: x264 .x264: x264
(cd $<; $(X264CC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install) (cd $<; $(NONLLVMCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
endif endif
endif endif
touch $@ touch $@
......
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