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

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>
This commit is contained in:
Neal Gompa (ニール・ゴンパ) 2021-05-25 17:11:11 -04:00 committed by GitHub
parent 971adc646d
commit 381b76eaa9
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')