[vlc-devel] commit: contribs: use GCC 4.2.1 for libgoom2k4, too. ( Felix Paul Kühne )

git version control git at videolan.org
Mon Jun 1 12:15:34 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun  1 12:15:20 2009 +0200| [cabe90dfe9494423ffcfbc27e1af368b3e77e5ae] | committer: Felix Paul Kühne 

contribs: use GCC 4.2.1 for libgoom2k4, too.

Updated binary packages are on the way.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cabe90dfe9494423ffcfbc27e1af368b3e77e5ae
---

 extras/contrib/bootstrap    |    8 ++++----
 extras/contrib/src/Makefile |   14 ++++++--------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 70e2ae3..a344d31 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -335,8 +335,8 @@ if test $HAVE_DARWIN_9; then
     set +x
     echo
     echo "*****************************************************************"
-    echo "* We are using the llvm-gcc-4.2 compiler on OS X by default,    *"
-    echo "* so compilation will fail if it isn't installed.               *"
+    echo "* We are using both the llvm-gcc-4.2 and the gcc-4.2 compilers  *"
+    echo "* on OS X, so compilation will fail if these are not installed. *"
     echo "*****************************************************************"
 fi
 
@@ -346,9 +346,9 @@ if test $HAVE_DARWIN_10; then
     echo "*****************************************************************"
     echo "* You are running Darwin 10.                                    *"
     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 "* using the llvm compiler, but plain GCC 4.2.                   *"
+    echo "* using the llvm compiler, but GCC 4.2.                         *"
     echo "*****************************************************************"
     set -x
 fi
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index a0cfd17..78c1eb1 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -156,10 +156,10 @@ endif
 ifdef HAVE_DARWIN_OS_ON_INTEL
 FFMPEG_CFLAGS += -DHAVE_LRINTF
 endif
-X264CC+= CC="/Developer/usr/bin/gcc-4.2"
-X264CC+= CXX="/Developer/usr/bin/g++-4.2"
+NONLLVMCC+= CC="/Developer/usr/bin/gcc-4.2"
+NONLLVMCC+= CXX="/Developer/usr/bin/g++-4.2"
 else
-X264CC+= $(HOSTCC)
+NONLLVMCC+= $(HOSTCC)
 endif
 
 ifdef HAVE_AMR
@@ -1328,15 +1328,13 @@ ifdef HAVE_WIN32
 	(cd $@; dos2unix configure.in)
 	patch -p0 < Patches/goom2k4-0-win32.patch
 else
-ifndef HAVE_DARWIN_OS
 	patch -p0 < Patches/goom2k4-0-mmx.patch
 endif
-endif
 	patch -p0 < Patches/goom2k4-0-memleaks.patch
 
 .goom2k4: goom
 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
 	(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
@@ -1439,10 +1437,10 @@ ifdef HAVE_WIN32
 else
 ifdef HAVE_DARWIN_OS_ON_INTEL
   .x264: x264 .yasm
-	(cd $<; $(X264CC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
+	(cd $<; $(NONLLVMCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
 else
   .x264: x264
-	(cd $<; $(X264CC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
+	(cd $<; $(NONLLVMCC) ./configure $(X264CONF) --prefix="$(PREFIX)" && make && make install)
 endif
 endif
 	touch $@




More information about the vlc-devel mailing list