[PATCH] D60380: Also document -arch as -arch is mac specific

Sylvestre Ledru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 2 07:21:34 PST 2022


sylvestre.ledru updated this revision to Diff 405262.
sylvestre.ledru added a comment.

add .


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60380/new/

https://reviews.llvm.org/D60380

Files:
  clang/docs/CommandGuide/clang.rst


Index: clang/docs/CommandGuide/clang.rst
===================================================================
--- clang/docs/CommandGuide/clang.rst
+++ clang/docs/CommandGuide/clang.rst
@@ -323,7 +323,11 @@
 
 .. 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>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60380.405262.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220202/d91e8c0c/attachment.bin>


More information about the cfe-commits mailing list