Use --disable-gdbserver in build-many-glibcs.py.

Now that binutils-gdb has gdbserver at top level, an extra
--disable-gdbserver configure option is needed when configuring
binutils from a git checkout to avoid it also building gdbserver
unnecessarily (although fairly harmlessly).  This patch updates the
options used in build-many-glibcs.py accordingly (although this might
end up not being needed depending on what happens regarding whether
gdbserver gets built for host != target).

Tested with a build-many-glibcs.py compilers build for
aarch64-linux-gnu using binutils-gdb master.
This commit is contained in:
Joseph Myers 2020-02-10 22:17:59 +00:00
parent 511c91b114
commit a179673f3d

View File

@ -1290,6 +1290,7 @@ class Config(object):
cmdlist.use_path(self.bindir) cmdlist.use_path(self.bindir)
self.build_cross_tool(cmdlist, 'binutils', 'binutils', self.build_cross_tool(cmdlist, 'binutils', 'binutils',
['--disable-gdb', ['--disable-gdb',
'--disable-gdbserver',
'--disable-libdecnumber', '--disable-libdecnumber',
'--disable-readline', '--disable-readline',
'--disable-sim']) '--disable-sim'])