Use --disable-gdbserver in build-many-glibcs.py [committed]
diff mbox series

Message ID alpine.DEB.2.21.2002102218240.9284@digraph.polyomino.org.uk
State New
Headers show
Series
  • Use --disable-gdbserver in build-many-glibcs.py [committed]
Related show

Commit Message

Joseph Myers Feb. 10, 2020, 10:19 p.m. UTC
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.

---

Committed.

Patch
diff mbox series

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 3625e667a9..6add364720 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1290,6 +1290,7 @@  class Config(object):
         cmdlist.use_path(self.bindir)
         self.build_cross_tool(cmdlist, 'binutils', 'binutils',
                               ['--disable-gdb',
+                               '--disable-gdbserver',
                                '--disable-libdecnumber',
                                '--disable-readline',
                                '--disable-sim'])