diff --git a/libc/examples/README.md b/libc/examples/README.md index 5d6cb9489ae66..ea82c5caf923c 100644 --- a/libc/examples/README.md +++ b/libc/examples/README.md @@ -35,14 +35,14 @@ in which the static archive is installed with the option `LIBC_OVERLAY_ARCHIVE_DIR`: ```bash -$> cmake ../ -G \ - -DLIBC_OVERLAY_ARCHIVE_DIR= +cmake ../ -G \ + -DLIBC_OVERLAY_ARCHIVE_DIR= ``` Next, if `Ninja` is used for ``, you can build the example as follows: ```bash -$> ninja +ninja ``` Building against a full libc @@ -59,10 +59,10 @@ have installed them, you have to inform CMake that we are linking against the full libc as follows: ```bash -$> cmake ../ -G -DLIBC_FULLBUILD=ON \ - -DCMAKE_SYSROOT= \ - -DCMAKE_C_COMPILER=/bin/clang \ - -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY +cmake ../ -G -DLIBC_FULLBUILD=ON \ + -DCMAKE_SYSROOT= \ + -DCMAKE_C_COMPILER=/bin/clang \ + -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY ``` `` is the path to the sysroot directory you have set up while @@ -75,5 +75,5 @@ the example as follows: ```bash -$> ninja +ninja ```