[llvm] d2cc23a - [docs] HowToCrossCompileLLVM.rst: prefer --target= over legacy -target

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 12:39:38 PST 2022


Author: Fangrui Song
Date: 2022-01-25T12:39:32-08:00
New Revision: d2cc23a337ddf4e12c5f49664099be2874b16db8

URL: https://github.com/llvm/llvm-project/commit/d2cc23a337ddf4e12c5f49664099be2874b16db8
DIFF: https://github.com/llvm/llvm-project/commit/d2cc23a337ddf4e12c5f49664099be2874b16db8.diff

LOG: [docs] HowToCrossCompileLLVM.rst: prefer --target= over legacy -target

Added: 
    

Modified: 
    llvm/docs/HowToCrossCompileLLVM.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/HowToCrossCompileLLVM.rst b/llvm/docs/HowToCrossCompileLLVM.rst
index d2dc7bf60e5cb..e1ad8e5f5f4ff 100644
--- a/llvm/docs/HowToCrossCompileLLVM.rst
+++ b/llvm/docs/HowToCrossCompileLLVM.rst
@@ -58,7 +58,7 @@ specific Linux distribution, version or GCC layout, so you'll need to fudge.
 
 In addition to the ones above, you'll also need:
 
- * ``'-target arm-linux-gnueabihf'`` or whatever is the triple of your cross GCC.
+ * ``--target=arm-linux-gnueabihf`` or whatever is the triple of your cross GCC.
  * ``'--sysroot=/usr/arm-linux-gnueabihf'``, ``'--sysroot=/opt/gcc/arm-linux-gnueabihf'``
    or whatever is the location of your GCC's sysroot (where /lib, /bin etc are).
  * Appropriate use of ``-I`` and ``-L``, depending on how the cross GCC is installed,


        


More information about the llvm-commits mailing list