From 92c196947c06a795d81ff35f7c0bf6946e214b5a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Jun 2016 20:35:39 +0300 Subject: Update sdl2 build script for use tmp directory. --- build/bmakedebugsdl2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'build') 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 -- cgit v1.2.3-70-g09d2