ppc64le: Build early startup code with -mcpu=power8

The --with-rtld-early-cflags configure option was being passed for ppc64
builds instead of for ppc64le.  This commit fixes that.
This commit is contained in:
Arjun Shankar 2024-07-18 14:32:52 +02:00
parent 20389a2e21
commit c9bf6af606

View File

@ -169,7 +169,7 @@ Version: %{glibcversion}
# - It allows using the Release number without the %%dist tag in the dependency # - It allows using the Release number without the %%dist tag in the dependency
# generator to make the generated requires interchangeable between Rawhide # generator to make the generated requires interchangeable between Rawhide
# and ELN (.elnYY < .fcXX). # and ELN (.elnYY < .fcXX).
%global baserelease 34 %global baserelease 35
Release: %{baserelease}%{?dist} Release: %{baserelease}%{?dist}
# Licenses: # Licenses:
@ -253,10 +253,10 @@ Source12: ChangeLog.old
%endif %endif
%ifarch ppc64 %ifarch ppc64
%global glibc_ldso /lib64/ld64.so.1 %global glibc_ldso /lib64/ld64.so.1
%define glibc_rtld_early_cflags -mcpu=power8
%endif %endif
%ifarch ppc64le %ifarch ppc64le
%global glibc_ldso /lib64/ld64.so.2 %global glibc_ldso /lib64/ld64.so.2
%define glibc_rtld_early_cflags -mcpu=power8
%endif %endif
%ifarch riscv64 %ifarch riscv64
%global glibc_ldso /lib/ld-linux-riscv64-lp64d.so.1 %global glibc_ldso /lib/ld-linux-riscv64-lp64d.so.1
@ -2574,6 +2574,9 @@ update_gconv_modules_cache ()
%endif %endif
%changelog %changelog
* Thu Jul 18 2024 Arjun Shankar <arjun@redhat.com> - 2.39.9000-35
- ppc64le: Build early startup code with -mcpu=power8
* Mon Jul 15 2024 DJ Delorie <dj@redhat.com> - 2.39.9000-34 * Mon Jul 15 2024 DJ Delorie <dj@redhat.com> - 2.39.9000-34
- Auto-sync with upstream branch master, - Auto-sync with upstream branch master,
commit a11e15ea0ab1ee8a1947b6be52beca53693f0991. commit a11e15ea0ab1ee8a1947b6be52beca53693f0991.