Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Florian Fainelli and committed by
Masahiro Yamada
e30d694c 516d980f

+2 -2
+2 -2
Documentation/kbuild/llvm.rst
··· 39 39 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make CC=clang 40 40 41 41 ``CROSS_COMPILE`` is not used to prefix the Clang compiler binary, instead 42 - ``CROSS_COMPILE`` is used to set a command line flag: ``--target <triple>``. For 42 + ``CROSS_COMPILE`` is used to set a command line flag: ``--target=<triple>``. For 43 43 example: :: 44 44 45 - clang --target aarch64-linux-gnu foo.c 45 + clang --target=aarch64-linux-gnu foo.c 46 46 47 47 LLVM Utilities 48 48 --------------