Skip to content

Commit

Permalink
Document that compiling a binary with Clang on Linux adds a .llvm s…
Browse files Browse the repository at this point in the history
…uffix

This can result in people running old binaries unexpectedly, so it's
important to mention this suffix.
  • Loading branch information
Calinou committed Aug 30, 2021
1 parent 13a6016 commit 30a4607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions development/compiling/compiling_for_x11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,8 @@ then use the following SCons command::

scons platform=x11 use_llvm=yes use_lld=yes

After the build is completed, a new binary with a ``.llvm`` suffix will be
created in the ``bin/`` folder.

It's still recommended to use GCC for production builds as they can be compiled using
link-time optimization, making the resulting binaries smaller and faster.

0 comments on commit 30a4607

Please sign in to comment.