This commit is contained in:
10
glibc.spec
10
glibc.spec
@@ -111,17 +111,11 @@ ExclusiveArch: do_not_build
|
||||
# Enable support for livepatching.
|
||||
%define have_livepatching_support 0
|
||||
%if %{build_cross}
|
||||
%if "%{cross_arch}" == "x86_64"
|
||||
%define have_livepatching_support 1
|
||||
%endif
|
||||
%if "%{cross_arch}" == "ppc64le"
|
||||
%if "%{cross_arch}" == "x86_64" || "%{cross_arch}" == "ppc64le"
|
||||
%define have_livepatching_support 1
|
||||
%endif
|
||||
%else
|
||||
%ifarch x86_64
|
||||
%define have_livepatching_support 1
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
%ifarch x86_64 ppc64le
|
||||
%define have_livepatching_support 1
|
||||
%endif
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user