From: Jian Yu Date: Tue, 4 Feb 2025 18:48:41 +0000 (-0800) Subject: LU-18692 build: add -f option to libtoolize X-Git-Tag: 2.16.53~139 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8d4ba8b7d4ced228165b2c9c043fd9cdeda9e2da;p=fs%2Flustre-release.git LU-18692 build: add -f option to libtoolize If libtool and aclocal.m4 were generated by different versions of build tools, then building Lustre codes will hit libtool version mismatch error. This patch adds -f option to libtoolize in autogen.sh to replace existing libtool files by default. Change-Id: I8f4786eccfdf38b3554393d7f9d6f52613a3a3f5 Test-Parameters: trivial Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57965 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Arshad Hussain Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- diff --git a/autogen.sh b/autogen.sh index 013a265..d77efa4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -19,7 +19,7 @@ done # avoid the "modules.order: No such file or directory" failure touch modules.order -libtoolize -q +libtoolize -q -f aclocal -I $pw/config $ACLOCAL_FLAGS autoheader automake -a -c