diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index 9a64a2c..9b576e6 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -136,7 +136,11 @@ # Set of architectures where we verify backtraces with gdb %global gdb_arches %{jit_arches} %{zero_arches} # Set of architectures for which we have a portable build +%if 0%{?centos} == 0 %global portable_build_arches %{aarch64} %{ix86} %{power64} x86_64 +%else +%global portable_build_arches %{aarch64} %{ix86} %{power64} x86_64 %{zero_arches} +%endif # By default, we build a debug build during main build on JIT architectures %if %{with slowdebug} @@ -2896,6 +2900,7 @@ cjc.mainProgram(args) * Mon Oct 16 2023 Andrew Hughes - 1:1.8.0.392.b08-4 - Vary portablesuffix depending on whether we are on RHEL ('el8') or CentOS ('el9') - Temporarily use a different portable version and release on RHEL while out of sync with CentOS +- Add zero_arches to the portable_build_arches on CentOS where there is no libffi issue - Related: RHEL-12210 * Mon Oct 16 2023 Andrew Hughes - 1:1.8.0.392.b08-3