osxbuild.sh: don't build for ppc

git-svn-id: https://svn.eduke32.com/eduke32@2238 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-01-07 20:37:36 +00:00
parent 114d8e4a36
commit a0f19e66be

View file

@ -69,23 +69,23 @@ if [ $onlyzip -eq 0 ]; then
# echo PowerPC debug build failed. # echo PowerPC debug build failed.
# fi # fi
make veryclean # make veryclean
ARCH='-arch ppc' WITHOUT_GTK=1 RELEASE=1 BUILD32_ON_64=0 USE_LIBVPX=0 make -j 3 # ARCH='-arch ppc' WITHOUT_GTK=1 RELEASE=1 BUILD32_ON_64=0 USE_LIBVPX=0 make -j 3
if [ $? ]; then # if [ $? ]; then
echo PowerPC release build succeeded. # echo PowerPC release build succeeded.
cp mapster32 mapster32.ppc # cp mapster32 mapster32.ppc
cp eduke32 eduke32.ppc # cp eduke32 eduke32.ppc
else # else
echo PowerPC release build failed. # echo PowerPC release build failed.
fi # fi
fi fi
# Almost done... # Almost done...
if [ -f mapster32.x64 ] && [ -f eduke32.x86 ] && [ -f eduke32.ppc ]; then if [ -f mapster32.x64 ] && [ -f eduke32.x86 ] && [ -f eduke32.ppc ]; then
echo Creating fat binaries. echo Creating fat binaries.
lipo -create mapster32.x64 mapster32.x86 mapster32.ppc -output mapster32 lipo -create mapster32.x64 mapster32.x86 -output mapster32
# lipo -create mapster32.debug.x64 mapster32.debug.x86 -output mapster32.debug # lipo -create mapster32.debug.x64 mapster32.debug.x86 -output mapster32.debug
lipo -create eduke32.x64 eduke32.x86 eduke32.ppc -output eduke32 lipo -create eduke32.x64 eduke32.x86 -output eduke32
# lipo -create eduke32.debug.x64 eduke32.debug.x86 -output eduke32.debug # lipo -create eduke32.debug.x64 eduke32.debug.x86 -output eduke32.debug
rev=`svn info | grep Revision | awk '{ print $2 }'` rev=`svn info | grep Revision | awk '{ print $2 }'`
arfilename="eduke32-osx-$rev.zip" arfilename="eduke32-osx-$rev.zip"