From b7ac69fcb439f99d1bbcd99e2230bc4a03f21f47b67575cd6c435c816c94f044 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 31 Mar 2020 08:46:44 +0000 Subject: [PATCH 1/2] - Switch gcc to default 10. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=95 --- gcc.changes | 5 +++++ gcc.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc.changes b/gcc.changes index ca17931..1f189c0 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 31 08:46:16 UTC 2020 - Richard Biener + +- Switch gcc to default 10. + ------------------------------------------------------------------- Thu May 16 13:23:19 UTC 2019 - Andreas Schwab diff --git a/gcc.spec b/gcc.spec index 7ead7ef..7a23382 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,7 +1,7 @@ # # spec file for package gcc # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,10 +39,10 @@ Name: gcc %else %define build_d 0 %endif -Url: http://gcc.gnu.org/ -%define gcc_version 9 -%define gcc_suffix 9 -Version: 9 +URL: http://gcc.gnu.org/ +%define gcc_version 10 +%define gcc_suffix 10 +Version: 10 Release: 0 Summary: The system GNU C Compiler License: GPL-3.0-or-later From 3ba196f47443669bef84de32603f58672736f9b28a0ed56b3e528f63ac7dcdea Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 18 May 2020 09:09:19 +0000 Subject: [PATCH 2/2] - Sync separate_bi{32,64} macros with the GCC side, honoring %disable_32bit. [bsc#1170466] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=96 --- gcc.changes | 6 ++++++ gcc.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc.changes b/gcc.changes index 1f189c0..65db2ca 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 18 09:08:26 UTC 2020 - Richard Biener + +- Sync separate_bi{32,64} macros with the GCC side, honoring + %disable_32bit. [bsc#1170466] + ------------------------------------------------------------------- Tue Mar 31 08:46:16 UTC 2020 - Richard Biener diff --git a/gcc.spec b/gcc.spec index 7a23382..cf9c302 100644 --- a/gcc.spec +++ b/gcc.spec @@ -19,12 +19,14 @@ Name: gcc %define separate_bi32 0 %define separate_bi64 0 -%ifarch ppc +%if 0%{!?disable_32bit:1} +%ifarch ppc sparcv9 %define separate_bi64 1 %endif -%ifarch x86_64 s390x ppc64 +%ifarch x86_64 s390x ppc64 sparc64 %define separate_bi32 1 %endif +%endif # Ada currently fails to build on a few platforms, enable it only # on those that work # Note that AdaCore only supports %ix86, x86_64 and ia64