X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Ferrs1;h=43cda292493ed2e0a748e08de0d5d75537593e31;hp=07583ae70d8ca9288096d98d071428de6cc22300;hb=9941dd67625f104aeb2954ff1942bc7b1b0df549;hpb=ff0203bf7e478a4a438f00908a9371fc26e8da77 diff --git a/bin/errs1 b/bin/errs1 index 07583ae..43cda29 100755 --- a/bin/errs1 +++ b/bin/errs1 @@ -1,6 +1,8 @@ #! /bin/sh # $Id$ +renice +19 -p $$; ionice -c3 -p $$ + customss="--enable-static --disable-shared" customm="-m64" target= @@ -61,6 +63,7 @@ do break done +rm -f errs1.ok ( set -ex find -name config.cache|xargs rm -f @@ -76,8 +79,11 @@ done if test -f `dirname $configure`/bfd/elf64-x86-64.c;then test -f g77 || (test -f /usr/bin/gfortran && ln -s /usr/bin/gfortran g77) fi + if ! $fast;then + targets="$targets --enable-64-bit-bfd" + fi if ! $fast && test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then - targets="--enable-targets=all --enable-64-bit-bfd" + targets="$targets --enable-targets=all" fi if test -f `dirname $configure`/gcc/reload.c;then @@ -113,5 +119,10 @@ done export CXXFLAGS_FOR_TARGET="$flags" export LDFLAGS="$ldflags" - time nice "$configure" $target $targets $customss --enable-debug $maintainer $werror "$@" + time nice "$configure" $target $targets $customss --enable-debug --disable-sim $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@" + touch errs1.ok ) 2>&1|tee errs1 +test -f errs1.ok +rc=$? +rm -f errs1.ok +exit $rc