]> git.sesse.net Git - vlc/commitdiff
contribs: use GCC 4.2.1 for libgoom2k4, too.
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 1 Jun 2009 10:15:20 +0000 (12:15 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 1 Jun 2009 10:15:33 +0000 (12:15 +0200)
Updated binary packages are on the way.

extras/contrib/bootstrap
extras/contrib/src/Makefile

index 70e2ae3f1b77b9162e22c4959af25fae6ad2d0c1..a344d315fbe1b371515c9cf6b16c855cd9160a08 100755 (executable)
@@ -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
index a0cfd179ff7954e99367d90f24cdcc2d0e016ea8..78c1eb15b598ec65b1496b2f226f18591e248015 100644 (file)
@@ -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 $@