diff options
| author | Adam Vandenberg | 2011-06-16 20:50:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-16 20:58:06 -0700 |
| commit | e8ebd6756e45cbc2e6fae7f30f03f51ee320fe94 (patch) | |
| tree | 293bc169bf30779fc23ca621cab0b00b44810d6d /Library | |
| parent | be63ae9b141b3a67eeee7104efc26c49411ce069 (diff) | |
| download | brew-e8ebd6756e45cbc2e6fae7f30f03f51ee320fe94.tar.bz2 | |
Add clang options to man page.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 5272f62ef..dd174085f 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -116,7 +116,7 @@ For the full command list, see the COMMANDS section. * `info` <URL>: Print the name and version that will be detected for <URL>. - * `install [--force] [--debug] [--ignore-dependencies] [--use-llvm] [--use-gcc] [--HEAD]` <formula>: + * `install [--force] [--debug] [--ignore-dependencies] [--use-clang] [--use-gcc] [--use-llvm] [--HEAD]` <formula>: Install <formula>. <formula> is usually the name of the formula to install, but may also be @@ -133,12 +133,14 @@ For the full command list, see the COMMANDS section. any kind. If they are not already present, the formula will probably fail to install. - If `--use-llvm` is passed, attempt to compile using the LLVM front-end to GCC. - *NOTE*: Not all formulae will build with LLVM. + If `--use-clang` is passed, attempt to compile using clang. If `--use-gcc` is passed, attempt to compile using GCC. This is useful for systems whose default compiler is LLVM-GCC. + If `--use-llvm` is passed, attempt to compile using the LLVM front-end to GCC. + *NOTE*: Not all formulae will build with LLVM. + If `--HEAD` is passed, and <formula> defines it, install the HEAD version, aka master, trunk, unstable, dev. @@ -324,13 +326,14 @@ Some sample commands ship with Homebrew and are enabled by default. This issue typically occurs when using FileVault or custom SSD configurations. + * HOMEBREW\_USE\_CLANG: + If set, instructs Homebrew to compile using clang. + * HOMEBREW\_USE\_GCC: - If set, instructs Homebrew to use gcc, even if the system default - is currently set to LLVM. + If set, instructs Homebrew to compile using gcc. * HOMEBREW\_USE\_LLVM: - If set, instructs Homebrew to use the LLVM front-ends to the GCC - compilers. + If set, instructs Homebrew to compile using LLVM. *NOTE*: Not all formulae build correctly with LLVM. |
