MaskRay wrote: `-arch ` is also related to universal binary that many other targets don't support (and they likely don't endorse such an approach). For ELF we should definitely encourage `--target=` for cross compilation. (`-target ` has been deprecated since Clang 3.2). Picking a default version for macOS is quite odd as well.
I think we should reject `-arch ` like many other target-specific options. https://maskray.me/blog/2023-08-25-clang-wunused-command-line-argument Created https://github.com/llvm/llvm-project/pull/74365 https://github.com/llvm/llvm-project/pull/72821 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits