OpenTTD: fixed host compilation
This commit is contained in:
@@ -14,14 +14,15 @@ export CXXFLAGS=-O0
|
||||
[ -e Makefile ] || cmake ../src || exit 1
|
||||
make -j8 VERBOSE=1 || exit 1
|
||||
cd bin
|
||||
cp -f ../baseset/opntitle.dat opntitle.sav
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
./openttd -d 2 -m null -g opntitle.sav -r 854x480
|
||||
../openttd -d 2 -m null -g opntitle.sav -r 854x480
|
||||
elif [ -n "$2" ]; then
|
||||
valgrind --track-fds=yes --log-file=../../valgrind.log --leak-check=full \
|
||||
./openttd -d 0 -m null # -g opntitle.sav
|
||||
../openttd -d 0 -m null # -g opntitle.sav
|
||||
else
|
||||
#valgrind --track-fds=yes --log-file=valgrind.log --leak-check=full \
|
||||
gdb -ex run --args \
|
||||
./openttd -d 0 -m null -g opntitle.sav -r 854x480
|
||||
../openttd -d 0 -m null -g opntitle.sav -r 854x480
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user