commit 65df08c4d9d2c3b9b354d5b0b2191b1278e0dd99 Author: Nicolas Vigier boklm@torproject.org Date: Sat Oct 17 01:46:42 2015 +0200
gcc: build from a non-random directory --- projects/gcc/build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/projects/gcc/build b/projects/gcc/build index d727bc5..03cfcbd 100644 --- a/projects/gcc/build +++ b/projects/gcc/build @@ -1,8 +1,9 @@ #!/bin/sh set -e distdir=/var/tmp/dist/[% project %] -tar xf [% project %]-[% c("version") %].tar.bz2 -cd [% project %]-[% c("version") %] +mkdir /var/tmp/build +tar -C /var/tmp/build -xf [% project %]-[% c("version") %].tar.bz2 +cd /var/tmp/build/[% project %]-[% c("version") %] ./configure --prefix=$distdir [% c("var/configure_opt") %] make -j4 make install
tor-commits@lists.torproject.org