Use uname -m to detect platform

`uname -i` functionality is non-portable and the custom patch Fedora was
carrying around was recently dropped:

cd953e11dd

The [rhbz#548834](https://bugzilla.redhat.com/show_bug.cgi?id=548834#c5)
suggests to use `uname -m` instead.

Resolves: rhbz#2158752
This commit is contained in:
Vít Ondruch 2023-01-06 14:14:41 +01:00 committed by mschorm
parent 0e8d2622f0
commit e2c66c6d03

View File

@ -1,6 +1,6 @@
progname=$(basename "$0") progname=$(basename "$0")
opt_verbose=: opt_verbose=:
opt_arch=$(uname -i) opt_arch=$(uname -m)
multilib_arches=" multilib_arches="
i386 x86_64 i386 x86_64