X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Ferrs12;h=e7c7e07999550d0d0b059ce887ee7442593a2976;hp=634e7e25496a4486518dd1d9bd1eed1d979fb3c0;hb=31ce090f436babfc7f4819096cfff9cc34bd667c;hpb=0e92d8c1c45154d13a836231b4ef465aac32a747 diff --git a/bin/errs12 b/bin/errs12 index 634e7e2..e7c7e07 100755 --- a/bin/errs12 +++ b/bin/errs12 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # $Id$ renice +19 -p $$; ionice -c3 -p $$ @@ -59,7 +59,7 @@ do if [ "$1" = "-s" ];then # -O0 is important to override GCC -O2. debug="-O0 -s" - ldflags="" + #ldflags="" shift continue fi @@ -93,7 +93,8 @@ rm -f errs1.ok if test -f `dirname $configure`/gcc/reload.c;then werror="--disable-werror" customm="" - customss="--disable-static --enable-shared" + # --disable-static would fail on finding built libstdc++ due to -static-libstdc++. + customss="" else werror="" fi @@ -123,7 +124,7 @@ rm -f errs1.ok export CXXFLAGS_FOR_TARGET="$flags" export LDFLAGS="$ldflags" - time nice "$configure" $target $targets $customss --enable-debug --disable-sim --enable-gold=both $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@" + time nice "$configure" $target $targets $customss --enable-debug --disable-sim --enable-gold --enable-plugins $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@" (ctags; test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)) &