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:
parent
971adc646d
commit
381b76eaa9
|
@ -122,7 +122,7 @@ Closure commonPackageConfig(String type, boolean jdk, String architecture) {
|
||||||
} else {
|
} else {
|
||||||
assert type == 'rpm' : type
|
assert type == 'rpm' : type
|
||||||
if (architecture == 'x64') {
|
if (architecture == 'x64') {
|
||||||
arch('X86_64')
|
arch('x86_64')
|
||||||
} else {
|
} else {
|
||||||
assert architecture == 'arm64' : architecture
|
assert architecture == 'arm64' : architecture
|
||||||
arch('aarch64')
|
arch('aarch64')
|
||||||
|
|
Loading…
Reference in New Issue