[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:19:47 PST 2022


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

Take in account Serge's comment


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.405259.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220202/ba810fe1/attachment.bin>


More information about the cfe-commits mailing list