Skip to content

Commit

Permalink
Document --cc= for non-Apple compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Sep 1, 2013
1 parent 500d40d commit 1ddde19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Library/Contributions/manpages/brew.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ Note that these flags should only appear after a command.
If `--cc=<compiler>` is passed, attempt to compile using the specified
compiler. The specified argument should be the name of the compiler's
executable, for instance `gcc-4.2` for Apple's GCC 4.2.
This option is the only way to select a non-Apple compiler; for instance,
to build using a Homebrew-provided GCC 4.8, use `--cc=gcc-4.8`

If `--use-clang` is passed, attempt to compile using clang.

Expand Down
4 changes: 2 additions & 2 deletions share/man/man1/brew.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BREW" "1" "August 2013" "Homebrew" "brew"
.TH "BREW" "1" "September 2013" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for OS X
Expand Down Expand Up @@ -192,7 +192,7 @@ If \fB\-\-ignore\-dependencies\fR is passed, skip installing any dependencies of
If \fB\-\-fresh\fR is passed, the installation process will not re\-use any options from previous installs\.
.
.IP
If \fB\-\-cc=<compiler>\fR is passed, attempt to compile using the specified compiler\. The specified argument should be the name of the compiler\'s executable, for instance \fBgcc\-4\.2\fR for Apple\'s GCC 4\.2\.
If \fB\-\-cc=<compiler>\fR is passed, attempt to compile using the specified compiler\. The specified argument should be the name of the compiler\'s executable, for instance \fBgcc\-4\.2\fR for Apple\'s GCC 4\.2\. This option is the only way to select a non\-Apple compiler; for instance, to build using a Homebrew\-provided GCC 4\.8, use \fB\-\-cc=gcc\-4\.8\fR
.
.IP
If \fB\-\-use\-clang\fR is passed, attempt to compile using clang\.
Expand Down

0 comments on commit 1ddde19

Please sign in to comment.