diff --git a/docs/HowToCrossCompileBuiltinsOnArm.rst b/docs/HowToCrossCompileBuiltinsOnArm.rst index 72dfea4eb68..4122aafe87e 100644 --- a/docs/HowToCrossCompileBuiltinsOnArm.rst +++ b/docs/HowToCrossCompileBuiltinsOnArm.rst @@ -59,22 +59,22 @@ options. * ``path/to/compiler-rt`` * ``-G Ninja`` -* ``-DCOMPILER_RT_BUILD_BUILTINS=ON`` -* ``-DCOMPILER_RT_BUILD_SANITIZERS=OFF`` -* ``-DCOMPILER_RT_BUILD_XRAY=OFF`` -* ``-DCOMPILER_RT_BUILD_LIBFUZZER=OFF`` -* ``-DCOMPILER_RT_BUILD_PROFILE=OFF`` -* ``-DCMAKE_C_COMPILER=/path/to/clang`` * ``-DCMAKE_AR=/path/to/llvm-ar`` +* ``-DCMAKE_ASM_COMPILER_TARGET="arm-linux-gnueabihf"`` +* ``-DCMAKE_ASM_FLAGS="build-c-flags"`` +* ``-DCMAKE_C_COMPILER=/path/to/clang`` +* ``-DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf"`` +* ``-DCMAKE_C_FLAGS="build-c-flags"`` +* ``-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld"`` * ``-DCMAKE_NM=/path/to/llvm-nm`` * ``-DCMAKE_RANLIB=/path/to/llvm-ranlib`` -* ``-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld"`` -* ``-DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf"`` -* ``-DCMAKE_ASM_COMPILER_TARGET="arm-linux-gnueabihf"`` +* ``-DCOMPILER_RT_BUILD_BUILTINS=ON`` +* ``-DCOMPILER_RT_BUILD_LIBFUZZER=OFF`` +* ``-DCOMPILER_RT_BUILD_PROFILE=OFF`` +* ``-DCOMPILER_RT_BUILD_SANITIZERS=OFF`` +* ``-DCOMPILER_RT_BUILD_XRAY=OFF`` * ``-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON`` * ``-DLLVM_CONFIG_PATH=/path/to/llvm-config`` -* ``-DCMAKE_C_FLAGS="build-c-flags"`` -* ``-DCMAKE_ASM_FLAGS="build-c-flags"`` The ``build-c-flags`` need to be sufficient to pass the C-make compiler check, compile compiler-rt, and if you are running the tests, compile and link the