- 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
This commit is contained in:
Richard Biener 2020-05-18 09:09:19 +00:00 committed by Git OBS Bridge
parent b7ac69fcb4
commit 3ba196f474
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 18 09:08:26 UTC 2020 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>

View File

@ -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