CI: scripts: fix build of vtest regarding option -C
authorWilly Tarreau <w@1wt.eu>
Mon, 27 May 2024 09:50:31 +0000 (11:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 May 2024 10:15:50 +0000 (12:15 +0200)
commit01843c47a13f01ba899d06ac968ca8a9bf7ff974
tree8e75ed6258121a4049bbf1d6c0f9e4b32607881b
parent0a00302fabef8f8c35b84894309e7c1da534c85d
CI: scripts: fix build of vtest regarding option -C

On Linux, GNU make emits "w" at the beginning of the MAKEFLAGS
variable if -C is passed, which happens since vtest d6d228bcb3.
In fact it emits any of the command line flags without the leading
'-' in this case. gmake doesn't do that on BSD apparently. It's
documented under Options/Recursion in the GNU make doc. There's
also MFLAGS that could work but it does not contain the variables
definitions. So let's just avoid the -C that we don't really need.

This needs to be backported to stable versions.
scripts/build-vtest.sh