diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index 7d68dd5..3ee1957 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -20,6 +20,13 @@ %global build_loop1 %{nil} %endif +%global aarch64 aarch64 arm64 armv8 +# sometimes we need to distinguish big and little endian PPC64 +%global ppc64le ppc64le +%global ppc64be ppc64 ppc64p7 +%global multilib_arches %{power64} sparc64 x86_64 +%global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} + # by default we build debug build during main build only on intel arches %ifarch %{ix86} x86_64 %{aarch64} %{ppc64le} %global include_debug_build 1 @@ -58,13 +65,6 @@ %global targets all %endif -%global aarch64 aarch64 arm64 armv8 -# sometimes we need to distinguish big and little endian PPC64 -%global ppc64le ppc64le -%global ppc64be ppc64 ppc64p7 -%global multilib_arches %{power64} sparc64 x86_64 -%global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} - %ifnarch %{jit_arches} # Disable hardened build on non-jit arches. Work-around for RHBZ#1290936. %undefine _hardened_build