From 2135b00d215efc5c2c38e1abd3254baf31229ad4 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 3 Sep 2024 13:55:23 -0400 Subject: distcheck: Pass MAKE="${MAKE}" to ./configure Otherwise ./configure will run with the default make but inherit MAKEFLAGS from the current make, breaking e.g. gmake distcheck on BSD. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f74eb6..dc14177 100644 --- a/Makefile +++ b/Makefile @@ -167,7 +167,7 @@ DISTCHECK_CONFIG_release := --enable-release ${DISTCHECKS}:: @${MKDIR} $@ @+cd $@ \ - && ../configure ${DISTCHECK_CONFIG_${@:distcheck-%=%}} \ + && ../configure MAKE="${MAKE}" ${DISTCHECK_CONFIG_${@:distcheck-%=%}} \ && ${MAKE} check TEST_FLAGS="--sudo --verbose=skipped" ## Packaging (`make install`) -- cgit v1.2.3