From 837c29a4964800b5d31dfc80a1b635b1f41e53b5 Mon Sep 17 00:00:00 2001 From: basebuilder_pel7ppc64lebuilder1 Date: Sun, 27 May 2018 12:36:06 +0200 Subject: [PATCH] gcc ppc64/ppc64le updates to make it working Signed-off-by: basebuilder_pel7ppc64lebuilder1 --- SPECS/gcc.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/SPECS/gcc.spec b/SPECS/gcc.spec index 4fd1342c..6415c6d6 100644 --- a/SPECS/gcc.spec +++ b/SPECS/gcc.spec @@ -21,7 +21,7 @@ %else %global build_go 0 %endif -%ifarch %{ix86} x86_64 ia64 ppc64 ppc64le +%ifarch %{ix86} x86_64 ia64 %global build_libquadmath 1 %else %global build_libquadmath 0 @@ -31,7 +31,7 @@ %else %global build_libasan 0 %endif -%ifarch x86_64 ppc64 ppc64le +%ifarch x86_64 %global build_libtsan 1 %else %global build_libtsan 0 @@ -311,12 +311,17 @@ Patch1406: gcc48-rh1535655-6.patch %ifarch sparcv9 %global gcc_target_platform sparc64-%{_vendor}-%{_target_os} %endif -%ifarch ppc ppc64p7 -%global gcc_target_platform ppc64-%{_vendor}-%{_target_os} +%ifarch ppc ppc64 +%global gcc_target_platform ppc64-powerel-%{_target_os} +%endif +%ifarch ppc64le +%global gcc_target_platform ppc64le-powerel-%{_target_os} +%endif +%ifarch x86_64 +%global gcc_target_platform x86_64-powerel-%{_target_os} %endif -%ifnarch sparcv9 ppc ppc64p7 +%ifnarch sparcv9 ppc ppc64 ppc64le x86_64 %global gcc_target_platform %{_target_platform} -#%global gcc_target_platform x86_64-powerel-%{_target_os} %endif %description