From 08e1407f23b291e9fb2c6a5a5943ed8eae26d424 Mon Sep 17 00:00:00 2001 From: Jiri Date: Tue, 4 Oct 2016 14:09:24 +0200 Subject: [PATCH] Arches declaration moved to top of specfile --- java-1.8.0-openjdk.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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