summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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