Remove 5 unused variables from make-macosx scripts
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
CC=gcc-4.0
|
CC=gcc-4.0
|
||||||
BINARY=ioquake3.ub
|
|
||||||
|
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
if [ ! -f Makefile ]; then
|
if [ ! -f Makefile ]; then
|
||||||
@@ -8,12 +7,6 @@ if [ ! -f Makefile ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'`
|
|
||||||
|
|
||||||
# We only care if we're >= 10.4, not if we're specifically Tiger.
|
|
||||||
# "8" is the Darwin major kernel version.
|
|
||||||
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`
|
|
||||||
|
|
||||||
# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
|
# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
|
||||||
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
|
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
|
||||||
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent
|
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent
|
||||||
|
@@ -38,12 +38,6 @@ if [ ! -f Makefile ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'`
|
|
||||||
|
|
||||||
# We only care if we're >= 10.4, not if we're specifically Tiger.
|
|
||||||
# "8" is the Darwin major kernel version.
|
|
||||||
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`
|
|
||||||
|
|
||||||
# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
|
# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
|
||||||
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
|
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
|
||||||
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent
|
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent
|
||||||
|
Reference in New Issue
Block a user