From: lace <> Date: Thu, 27 Nov 2008 20:55:56 +0000 (+0000) Subject: +--fast X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=0b5e1205f7e5fa8b893a00713937dcfa8d182705;ds=sidebyside +--fast --- diff --git a/bin/errs1 b/bin/errs1 index 715eee0..287fbcf 100755 --- a/bin/errs1 +++ b/bin/errs1 @@ -8,6 +8,7 @@ targets= configure="./configure" debug="-ggdb2" ldflags="" +fast=false while true do @@ -16,7 +17,12 @@ do shift continue fi - if [ "$1" = "-shared" ];then + if [ "$1" = "--fast" ];then + fast=true + shift + continue + fi + if [ "$1" = "--shared" ];then customss="--disable-static --enable-shared" shift continue @@ -64,7 +70,7 @@ 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 test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then + if ! $fast && test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then targets="--enable-targets=all" ldflags="-lmcheck" fi