diff options
author | Martin Liska <mliska@suse.cz> | 2019-08-13 09:30:57 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-08-13 07:30:57 +0000 |
commit | e75c29e7c8be4ae62f2ab68eb1e18e22dca06a88 (patch) | |
tree | bb7a674df32ebaeb61b9b4c78882c0940898f4cd /gcc/doc | |
parent | f15c7bd140d7e9d99c5c0220284fef1cc5e42710 (diff) | |
download | gcc-e75c29e7c8be4ae62f2ab68eb1e18e22dca06a88.zip gcc-e75c29e7c8be4ae62f2ab68eb1e18e22dca06a88.tar.gz gcc-e75c29e7c8be4ae62f2ab68eb1e18e22dca06a88.tar.bz2 |
Automatically detect GNU jobserver with -flto.
2019-08-13 Martin Liska <mliska@suse.cz>
* doc/invoke.texi: Document automatic detection of jobserver.
* lto-wrapper.c (run_gcc): Detect jobserver always.
From-SVN: r274329
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 5b6b824..0000d35 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -10422,7 +10422,8 @@ job server mode to determine the number of parallel jobs. This is useful when the Makefile calling GCC is already executing in parallel. You must prepend a @samp{+} to the command recipe in the parent Makefile for this to work. This option likely only works if @env{MAKE} is -GNU make. +GNU make. Even without the option value, GCC tries to automatically +detect a running GNU make's job server. Use @option{-flto=auto} to use GNU make's job server, if available, or otherwise fall back to autodetection of the number of CPU threads |