[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    Documentation/llvm: Fix clang target examples
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2020-09-27 19:34:11
Message-ID: git-mailbomb-linux-master-e30d694c3381b565e043cf74b0bed059db1b4ac9 () kernel ! org
[Download RAW message or body]

Commit:     e30d694c3381b565e043cf74b0bed059db1b4ac9
Parent:     516d980f85415d76ae3d0d2a871eb20243f46c95
Refname:    refs/heads/master
Web:        https://git.kernel.org/torvalds/c/e30d694c3381b565e043cf74b0bed059db1b4ac9
Author:     Florian Fainelli <f.fainelli@gmail.com>
AuthorDate: Fri Sep 25 08:21:14 2020 -0700
Committer:  Masahiro Yamada <masahiroy@kernel.org>
CommitDate: Sat Sep 26 13:54:08 2020 +0900

    Documentation/llvm: Fix clang target examples
    
    clang --target=<triple> is how we can specify a particular toolchain
    triple to be use, fix the two occurences in the documentation.
    
    Fixes: fcf1b6a35c16 ("Documentation/llvm: add documentation on building w/ Clang/LLVM")
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
    Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
 Documentation/kbuild/llvm.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/kbuild/llvm.rst b/Documentation/kbuild/llvm.rst
index 334df758dce3..dae90c21aed3 100644
--- a/Documentation/kbuild/llvm.rst
+++ b/Documentation/kbuild/llvm.rst
@@ -39,10 +39,10 @@ which can help simplify cross compiling. ::
 	ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make CC=clang
 
 ``CROSS_COMPILE`` is not used to prefix the Clang compiler binary, instead
-``CROSS_COMPILE`` is used to set a command line flag: ``--target <triple>``. For
+``CROSS_COMPILE`` is used to set a command line flag: ``--target=<triple>``. For
 example: ::
 
-	clang --target aarch64-linux-gnu foo.c
+	clang --target=aarch64-linux-gnu foo.c
 
 LLVM Utilities
 --------------
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic