Skip to content

Commit

Permalink
distcheck: Pass MAKE="${MAKE}" to ./configure
Browse files Browse the repository at this point in the history
Otherwise ./configure will run with the default make but inherit
MAKEFLAGS from the current make, breaking e.g. gmake distcheck on BSD.
  • Loading branch information
tavianator committed Sep 3, 2024
1 parent ac02de9 commit 2135b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 2135b00

Please sign in to comment.