[clang] b4bb622 - Also document -arch as -arch is mac specific
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 2 07:23:40 PST 2022
Author: Sylvestre Ledru
Date: 2022-02-02T16:23:23+01:00
New Revision: b4bb622fc94a051dd9452930b5f79af688fc101b
URL: https://github.com/llvm/llvm-project/commit/b4bb622fc94a051dd9452930b5f79af688fc101b
DIFF: https://github.com/llvm/llvm-project/commit/b4bb622fc94a051dd9452930b5f79af688fc101b.diff
LOG: Also document -arch as -arch is mac specific
Reviewed By: serge-sans-paille
Differential Revision: https://reviews.llvm.org/D60380
Added:
Modified:
clang/docs/CommandGuide/clang.rst
Removed:
################################################################################
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 6797020d1b68e..aec62789a43e6 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -323,7 +323,11 @@ number of cross compilers, or may only support a native target.
.. option:: -arch <architecture>
- Specify the architecture to build for.
+ Specify the architecture to build for (Mac OS X specific).
+
+.. option:: -target <architecture>
+
+ Specify the architecture to build for (all platforms).
.. option:: -mmacosx-version-min=<version>
More information about the cfe-commits
mailing list