Also document -arch as -arch is mac specific
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 2 Feb 2022 15:23:23 +0000 (16:23 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 2 Feb 2022 15:23:23 +0000 (16:23 +0100)
Reviewed By: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D60380

clang/docs/CommandGuide/clang.rst

index 6797020..aec6278 100644 (file)
@@ -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>