Merge pull request 'fix the project config to disable 32-bit everywhere except x86_64' (#28) from jsrain/SUSE_ALP_Standard:1.0 into 1.0

Reviewed-on: https://src.suse.de/products/SUSE_ALP_Standard/pulls/28
This commit is contained in:
Marcus Rückert 2023-11-02 13:30:23 +01:00
commit 45bd8a012a

View File

@ -1847,7 +1847,10 @@ Macros:
# we still need gcc-32bit/glibc-32bit on x86_64 to build some part of the distribution
# but those packages should not be distributed
%ifnarch x86_64
%define disable_32bit 0
%define disable_32bit 1
Macros:
%disable_32bit 1
:Macros
Substitute: glibc-devel-32bit
Substitute: glibc-devel-static-32bit
Substitute: gcc-32bit
@ -1858,9 +1861,9 @@ Substitute: gcc5-c++-32bit
Substitute: gcc6-c++-32bit
Substitute: gcc-c++-32bit
%else
%define disable_32bit 1
%define disable_32bit 0
Macros:
%disable_32bit 1
%disable_32bit 0
:Macros
%endif