From: Pádraig Brady Date: Sat, 5 Jul 2025 11:49:02 +0000 (+0100) Subject: build: fix non parallel VPATH builds X-Git-Tag: v9.8~247 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1485eabfdd32bfc3805545b88c89a7995f3675c6;p=thirdparty%2Fcoreutils.git build: fix non parallel VPATH builds * src/local.mk: Use the coarser BUILT_SOURCES mechanism to generate speedlist.h, rather than a specific dependency (which did seem to work for parallel builds). Fixes https://bugs.gnu.org/78960 --- diff --git a/src/local.mk b/src/local.mk index 537032578f..fb763c4dbd 100644 --- a/src/local.mk +++ b/src/local.mk @@ -708,7 +708,7 @@ src/version.h: Makefile # -PD: MSVC (usable with a wrapper such as cccl from the SWIG project) getmacopts = -dM -xdumpmacros -qshowmacros -PD -CLEANFILES += src/speedlist.h +BUILT_SOURCES += src/speedlist.h src/speedlist.h: src/termios.c lib/config.h src/speedgen $(AM_V_GEN)rm -f $@ $(AM_V_at)${MKDIR_P} src @@ -718,8 +718,6 @@ src/speedlist.h: src/termios.c lib/config.h src/speedgen $(AM_V_at)chmod a-w $@t $(AM_V_at)mv $@t $@ -src/stty.c: src/speedlist.h - # Generates a list of macro invocations like: # SINGLE_BINARY_PROGRAM(program_name_str, main_name) # once for each program list on $(single_binary_progs). Note that