aboutsummaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-12 08:58:58 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-29 08:52:25 -0300
commit2301ab23488b9db95eba40750f355a4439468b89 (patch)
treedf1c57c465dea764eee0badaf08e1c53a89ea70b /platform
parentbuild: standardize parallel make arguments (diff)
downloadfirejail-2301ab23488b9db95eba40750f355a4439468b89.tar.gz
firejail-2301ab23488b9db95eba40750f355a4439468b89.tar.zst
firejail-2301ab23488b9db95eba40750f355a4439468b89.zip
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.
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/rpm/mkrpm.sh2
1 files changed, 2 insertions, 0 deletions
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
16name="$TARNAME" 16name="$TARNAME"
17# Strip any trailing prefix from the version like -rc1 etc 17# Strip any trailing prefix from the version like -rc1 etc
18version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" 18version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')"
19
20# Note: rpmbuild itself already passes --prefix=/usr to ./configure
19config_opt="--disable-userns --disable-contrib-install $*" 21config_opt="--disable-userns --disable-contrib-install $*"
20 22
21if [[ ! -f "platform/rpm/${name}.spec" ]]; then 23if [[ ! -f "platform/rpm/${name}.spec" ]]; then