Tools: remove enable-networking

* This flag was already removed, but the flags were left around

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-11-15 22:25:26 -07:00 committed by Peter Barker
parent 8f9df5a62e
commit 07cfd14828

View File

@ -410,16 +410,12 @@ def do_build(opts, frame_options):
if opts.enable_dds:
cmd_configure.append("--enable-dds")
if configure_target == 'sitl' and "--enable-networking" not in cmd_configure:
cmd_configure.append("--enable-networking")
if opts.disable_networking or configure_target != "sitl":
cmd_configure.append("--disable-networking")
if opts.enable_networking_tests:
cmd_configure.append("--enable-networking-tests")
if "--enable-networking" not in cmd_configure:
cmd_configure.append("--enable-networking")
pieces = [shlex.split(x) for x in opts.waf_configure_args]
for piece in pieces: