diff options
author | Andi Kleen <ak@linux.intel.com> | 2010-08-31 16:58:46 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2010-08-31 16:58:46 +0000 |
commit | a478ffff9550d91bf85532b2c6bf66d3051016c5 (patch) | |
tree | 1a55d621cc882fdcee8205efa2e197b4379a4ddd /gcc/doc/invoke.texi | |
parent | 7d2c38c0b9ae835080e7273bf61884e54b875961 (diff) | |
download | gcc-a478ffff9550d91bf85532b2c6bf66d3051016c5.zip gcc-a478ffff9550d91bf85532b2c6bf66d3051016c5.tar.gz gcc-a478ffff9550d91bf85532b2c6bf66d3051016c5.tar.bz2 |
common.opt (fwhopr=): Update for -fwhopr=jobserver
* common.opt (fwhopr=): Update for -fwhopr=jobserver
* doc/invoke.texi (fwhopr): Document -fwhopr=jobserver.
* lto-wrapper.c (run_gcc): Add jobserver mode.
* opts.c (common_handle_option): Fix OPT_fwhopr for non numeric
argument.
From-SVN: r163680
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 52f9b39..cdd8d98 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7619,6 +7619,13 @@ parallel using @var{n} parallel jobs by utilizing an installed @command{make} program. The environment variable @env{MAKE} may be used to override the program used. +You can also specify @option{-fwhopr=jobserver} to use GNU make's +job server mode to determine the number of parallel jobs. This +is useful when the Makefile calling GCC is already parallel. +The parent Makefile will need a @samp{+} prepended to the command recipe +for this to work. This will likely only work if @env{MAKE} is +GNU make. + Disabled by default. @item -fwpa |