From 1485eabfdd32bfc3805545b88c89a7995f3675c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sat, 5 Jul 2025 12:49:02 +0100 Subject: [PATCH] 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 --- src/local.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.47.3