summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-09 20:35:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-09 20:35:39 +0300
commit92c196947c06a795d81ff35f7c0bf6946e214b5a (patch)
tree81c9c06452a0da84b7f34c3c2f6758465784ae51
parentdaf4e4c54588704ab0dafc71cb885a8c0717c740 (diff)
downloadmv-92c196947c06a795d81ff35f7c0bf6946e214b5a.tar.gz
mv-92c196947c06a795d81ff35f7c0bf6946e214b5a.tar.bz2
mv-92c196947c06a795d81ff35f7c0bf6946e214b5a.tar.xz
mv-92c196947c06a795d81ff35f7c0bf6946e214b5a.zip
Update sdl2 build script for use tmp directory.
-rwxr-xr-xbuild/bmakedebugsdl211
1 files changed, 7 insertions, 4 deletions
diff --git a/build/bmakedebugsdl2 b/build/bmakedebugsdl2
index b18c59c44..cd564b4a4 100755
--- a/build/bmakedebugsdl2
+++ b/build/bmakedebugsdl2
@@ -1,7 +1,8 @@
#!/bin/bash
-cd ..
+mkdir tmp
+cd ..
dir=`pwd`
export CC=gcc
@@ -24,7 +25,9 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \
source ./build/gcc6flags.sh
autoreconf -i
-./configure --prefix=$dir/run \
+cd build/tmp
+
+../../configure --prefix=$dir/run \
--datadir=$dir/run/share/games \
--bindir=$dir/run/bin \
--mandir=$dir/run/share/man \
@@ -35,7 +38,7 @@ autoreconf -i
--with-sdl2
cd po
-make -j8 update-gmo 2>../build/make1.log
+make -j8 update-gmo 2>../../make1.log
cd ..
-make -j8 2>build/make2.log
+make -j8 2>../make2.log