diff options
author | Theodore Ts'o <tytso@mit.edu> | 2020-10-04 23:05:01 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-10-04 23:05:01 -0400 |
commit | 3ab2fd4e23837750eb4f3d1a858b5d0dfa2b379e (patch) | |
tree | 363a51f97a1318777d1f77cec31e5ff3c39c2a43 /resize | |
parent | 21bad2b6797f387756af4480d338c0b877c86ba0 (diff) | |
download | e2fsprogs-3ab2fd4e23837750eb4f3d1a858b5d0dfa2b379e.tar.gz |
Define MKDIR_P in the Makefile.in files instead in MCONFIG.in
In the case where mkdir -p is not thread-safe (for example, if the
build environment is using busybox's mkdir) the configure script will
fall back to the slow (but safe) install-sh script. In that case
MKDIR_P will be using a relative pathname; so we can't use speed
optimization of defining configure substitutions in MCONFIG.in, since
the substitution will be different depending on depth of the
subdirectory in the Makefile.in file.
https://github.com/tytso/e2fsprogs/issues/51
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'resize')
-rw-r--r-- | resize/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resize/Makefile.in b/resize/Makefile.in index f7f836a2..fdd0f2e6 100644 --- a/resize/Makefile.in +++ b/resize/Makefile.in @@ -8,6 +8,7 @@ VPATH = @srcdir@ top_builddir = .. my_dir = resize INSTALL = @INSTALL@ +MKDIR_P = @MKDIR_P@ @MCONFIG@ |