Commit 19e6dc56 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCKit: fixed 32bit compilation in Release mode on 10.6

parent 952df71d
......@@ -84,11 +84,27 @@ for arch in $ARCHS; do
mkdir -p $arch
cd $arch
echo "Running [$arch] configure $this_args"
if test $arch = "x86_64"; then
this_args="--build=x86_64-apple-darwin10 $this_args"
export CFLAGS="-m64 -arch x86_64"
export CXXFLAGS="-m64 -arch x86_64"
export OBJCFLAGS="-m64 -arch x86_64"
export CPPFLAGS="-m64 -arch x86_64"
$top_srcdir/configure --build=x86_64-apple-darwin10 $this_args
fi
if test $arch = "i386"; then
export CFLAGS="-m32 -arch i686"
export CXXFLAGS="-m32 -arch i686"
export OBJCFLAGS="-m32 -arch i686"
export CPPFLAGS="-m32 -arch i686"
$top_srcdir/configure --build=i686-apple-darwin10 $this_args
fi
if test $arch = "ppc"; then
export CFLAGS="-m32 -arch ppc"
export CXXFLAGS="-m32 -arch ppc"
export OBJCFLAGS="-m32 -arch ppc"
export CPPFLAGS="-m32 -arch ppc"
$top_srcdir/configure --build=powerpc-apple-darwin9 $this_args
fi
echo "Running[$arch] configure $this_args"
$top_srcdir/configure $this_args
cd ..
done
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