fix the project config to disable 32-bit everywhere except x86_64

This commit is contained in:
Jiri Srain 2023-11-01 15:42:13 +01:00
parent 824f69b867
commit fadb348c7e

10
_config
View File

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