summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-09-03 13:55:23 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-09-03 13:55:23 -0400
commit2135b00d215efc5c2c38e1abd3254baf31229ad4 (patch)
treee717f73e4f4fca324cb48b379addfc02d4d7661f
parentac02de97b856aa8805d81edcaa561a1d77527a4d (diff)
downloadbfs-2135b00d215efc5c2c38e1abd3254baf31229ad4.tar.xz
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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`)