distribution/packages: Fix RPM architecture name for 64-bit x86 (#620) (#770)

RPM uses the "x86_64" name for 64-bit x86, which is in-line with GCC
and other compilers.

Signed-off-by: Neal Gompa <ngompa13@gmail.com>

Co-authored-by: Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
This commit is contained in:
Tianli Feng 2021-05-25 15:42:38 -07:00 committed by GitHub
parent b6ca8e6db4
commit 69403283bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ Closure commonPackageConfig(String type, boolean jdk, String architecture) {
} else {
assert type == 'rpm' : type
if (architecture == 'x64') {
arch('X86_64')
arch('x86_64')
} else {
assert architecture == 'arm64' : architecture
arch('aarch64')