Skip to content

Commit b4bb622

Browse files
committed
Also document -arch as -arch is mac specific
Reviewed By: serge-sans-paille Differential Revision: https://reviews.llvm.org/D60380
1 parent 43de305 commit b4bb622

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

clang/docs/CommandGuide/clang.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,11 @@ number of cross compilers, or may only support a native target.
323323

324324
.. option:: -arch <architecture>
325325

326-
Specify the architecture to build for.
326+
Specify the architecture to build for (Mac OS X specific).
327+
328+
.. option:: -target <architecture>
329+
330+
Specify the architecture to build for (all platforms).
327331

328332
.. option:: -mmacosx-version-min=<version>
329333

0 commit comments

Comments
 (0)