if [ "$1" = "-s" ];then
# -O0 is important to override GCC -O2.
debug="-O0 -s"
- ldflags=""
+ #ldflags=""
shift
continue
fi
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)) &