diff --git a/pmb/build/autodetect.py b/pmb/build/autodetect.py index ad2a2b9b..f6edc063 100644 --- a/pmb/build/autodetect.py +++ b/pmb/build/autodetect.py @@ -90,6 +90,6 @@ def crosscompile(args, apkbuild, arch, suffix): return None if suffix == "native": return "native" - if args.no_crossdirect or "!pmb:crossdirect" in apkbuild["options"]: + if "!pmb:crossdirect" in apkbuild["options"]: return "distcc" return "crossdirect" diff --git a/pmb/parse/arguments.py b/pmb/parse/arguments.py index c584afb8..9454483c 100644 --- a/pmb/parse/arguments.py +++ b/pmb/parse/arguments.py @@ -652,12 +652,6 @@ def arguments(): # Compiler parser.add_argument("--no-ccache", action="store_false", dest="ccache", help="do not cache the compiled output") - parser.add_argument("--no-crossdirect", action="store_true", - help="Don't use the new, faster 'crossdirect' method," - " use the old 'distcc-sshd' method instead. Use" - " if crossdirect broke something. This option" - " and the legacy 'distcc-sshd' code will be" - " removed soon if no problems turn up.") parser.add_argument("--distcc-nofallback", action="store_false", help="when using the cross compiler via distcc fails," "do not fall back to compiling slowly with QEMU",