OpenTTD: removed useless variable from the build script
This commit is contained in:
@@ -90,7 +90,7 @@ fi
|
||||
|
||||
MYARCH=linux-x86_64
|
||||
if [ -z "$NCPU" ]; then
|
||||
NCPU=4
|
||||
NCPU=8
|
||||
if uname -s | grep -i "linux" > /dev/null ; then
|
||||
MYARCH=linux-x86_64
|
||||
NCPU=`cat /proc/cpuinfo | grep -c -i processor`
|
||||
|
||||
@@ -31,7 +31,7 @@ CPU_TYPE=32
|
||||
env CFLAGS_BUILD="-I." \
|
||||
env CXXFLAGS_BUILD="-I." \
|
||||
env LDFLAGS_BUILD="-L." \
|
||||
env CLANG=1 ../setEnvironment-$1.sh sh -c "cd openttd-$VER-$1 && env ../src/configure \
|
||||
../setEnvironment-$1.sh sh -c "cd openttd-$VER-$1 && env ../src/configure \
|
||||
--with-sdl=sdl1 --with-freetype --with-png --with-zlib --with-icu --with-libtimidity --without-fluidsynth \
|
||||
--with-lzo2=$LOCAL_PATH/../../../obj/local/$ARCH/liblzo2.so --prefix-dir='.' --data-dir='' \
|
||||
--without-allegro --with-fontconfig --with-lzma --cpu-type=$CPU_TYPE --os=android --cc-build=gcc --cxx-build=g++"
|
||||
|
||||
Reference in New Issue
Block a user