Fix: configure: error: invalid --enable-gold argument
[nethome.git] / bin / errs12
index de5912d..12f18f5 100755 (executable)
@@ -3,6 +3,10 @@
 
 renice +19 -p $$; ionice -c3 -p $$
 
+# For ctags
+PS1=x
+. ~/.bashrc
+
 customss="--enable-static --disable-shared"
 customm="-m64"
 target=
@@ -119,10 +123,9 @@ rm -f errs1.ok
        export CXXFLAGS_FOR_TARGET="$flags"
        export LDFLAGS="$ldflags"
 
-       ctags
-       test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)
+       time nice "$configure" $target $targets $customss --enable-debug --disable-sim --enable-gold --enable-plugins $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@"
 
-       time nice "$configure" $target $targets $customss --enable-debug --disable-sim $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@"
+       (ctags; test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)) &
 
        errs2