aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tburnus@baylibre.com>2024-09-02 10:29:36 +0200
committerTobias Burnus <tburnus@baylibre.com>2024-09-02 10:29:36 +0200
commit5cbfb3a799bcded1a06897400a09f0efadc1f9e8 (patch)
tree70f5896b686ce62556d578b4d5e2b67f2d982892 /gcc
parent6640a59fed48ed4e485d4a970f3ca9ed9e908640 (diff)
downloadgcc-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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/lto/lto.cc2
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;