From 2301ab23488b9db95eba40750f355a4439468b89 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 12 Feb 2024 08:58:58 -0300 Subject: build: standardize ./configure arguments For consistency and to make it clearer where jobs differ (for example, to see where `--enable-analyzer` is used). Changes: * Always use --prefix=/usr and --enable-fatal-warnings (except in the Alpine job due to current warnings; see #6224) * Use the same argument order Note: mkdeb.sh and platform/rpm/mkrpm.sh already pass `--prefix=/usr` to ./configure. --- platform/rpm/mkrpm.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/rpm') diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh index 0221fa607..46bb90036 100755 --- a/platform/rpm/mkrpm.sh +++ b/platform/rpm/mkrpm.sh @@ -16,6 +16,8 @@ set -e name="$TARNAME" # Strip any trailing prefix from the version like -rc1 etc version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" + +# Note: rpmbuild itself already passes --prefix=/usr to ./configure config_opt="--disable-userns --disable-contrib-install $*" if [[ ! -f "platform/rpm/${name}.spec" ]]; then -- cgit v1.2.3-54-g00ecf