diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-12 08:58:58 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-29 08:52:25 -0300 |
commit | 2301ab23488b9db95eba40750f355a4439468b89 (patch) | |
tree | df1c57c465dea764eee0badaf08e1c53a89ea70b /platform/rpm | |
parent | build: standardize parallel make arguments (diff) | |
download | firejail-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/rpm')
-rwxr-xr-x | platform/rpm/mkrpm.sh | 2 |
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 | |||
16 | name="$TARNAME" | 16 | name="$TARNAME" |
17 | # Strip any trailing prefix from the version like -rc1 etc | 17 | # Strip any trailing prefix from the version like -rc1 etc |
18 | version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" | 18 | version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" |
19 | |||
20 | # Note: rpmbuild itself already passes --prefix=/usr to ./configure | ||
19 | config_opt="--disable-userns --disable-contrib-install $*" | 21 | config_opt="--disable-userns --disable-contrib-install $*" |
20 | 22 | ||
21 | if [[ ! -f "platform/rpm/${name}.spec" ]]; then | 23 | if [[ ! -f "platform/rpm/${name}.spec" ]]; then |