diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2024-09-02 10:29:36 +0200 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2024-09-02 10:29:36 +0200 |
commit | 5cbfb3a799bcded1a06897400a09f0efadc1f9e8 (patch) | |
tree | 70f5896b686ce62556d578b4d5e2b67f2d982892 | |
parent | 6640a59fed48ed4e485d4a970f3ca9ed9e908640 (diff) | |
download | gcc-5cbfb3a799bcded1a06897400a09f0efadc1f9e8.zip gcc-5cbfb3a799bcded1a06897400a09f0efadc1f9e8.tar.gz gcc-5cbfb3a799bcded1a06897400a09f0efadc1f9e8.tar.bz2 |
lto/lto.cc: Fix build with not HAVE_WORKING_FORK
gcc/lto/ChangeLog:
* lto.cc: Add missing HAVE_WORKING_FORK.
-rw-r--r-- | gcc/lto/lto.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto/lto.cc b/gcc/lto/lto.cc index 58ff0c4..52dd436 100644 --- a/gcc/lto/lto.cc +++ b/gcc/lto/lto.cc @@ -62,8 +62,10 @@ along with GCC; see the file COPYING3. If not see /* Number of parallel tasks to run. */ static int lto_parallelism; +#ifdef HAVE_WORKING_FORK /* Number of active WPA streaming processes. */ static int nruns = 0; +#endif /* GNU make's jobserver info. */ static jobserver_info *jinfo = NULL; |