Commit 129e3172 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCKit: fixed 32bit compilation in Release mode on 10.6

.. and updated xcodeproj
parent ba73797f
...@@ -85,11 +85,27 @@ for arch in $ARCHS; do ...@@ -85,11 +85,27 @@ for arch in $ARCHS; do
mkdir -p $arch mkdir -p $arch
cd $arch cd $arch
echo "Running [$arch] configure $this_args"
if test $arch = "x86_64"; then 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 fi
echo "Running[$arch] configure $this_args"
$top_srcdir/configure $this_args
cd .. cd ..
done done
...@@ -467,7 +467,14 @@ ...@@ -467,7 +467,14 @@
isa = PBXProject; isa = PBXProject;
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "VLCKit" */; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "VLCKit" */;
compatibilityVersion = "Xcode 3.1"; compatibilityVersion = "Xcode 3.1";
developmentRegion = English;
hasScannedForEncodings = 1; hasScannedForEncodings = 1;
knownRegions = (
English,
Japanese,
French,
German,
);
mainGroup = 0867D691FE84028FC02AAC07 /* VLC */; mainGroup = 0867D691FE84028FC02AAC07 /* VLC */;
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
projectDirPath = ""; projectDirPath = "";
......
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