From: Tobias Burnus Date: Mon, 2 Sep 2024 08:29:36 +0000 (+0200) Subject: lto/lto.cc: Fix build with not HAVE_WORKING_FORK X-Git-Tag: basepoints/gcc-16~6178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbfb3a799bcded1a06897400a09f0efadc1f9e8;p=thirdparty%2Fgcc.git lto/lto.cc: Fix build with not HAVE_WORKING_FORK gcc/lto/ChangeLog: * lto.cc: Add missing HAVE_WORKING_FORK. --- diff --git a/gcc/lto/lto.cc b/gcc/lto/lto.cc index 58ff0c45f57..52dd436fd9a 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;