update snapshot and fix steam bug

This commit is contained in:
Alexander Stefanov 2024-09-07 19:47:01 +00:00
parent c1fdf6c369
commit e0b4bcc324
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,3 @@
sources:
glibc-c005d1bd6f0e88ab4b822844d75d10c8978f5404.tar.xz: 9f40a5d9523a0b63efc77ec77b658264a10dc067
glibc-f30501ca7557a194a53af22ff5b47b3189c48216.tar.xz: c8a09613b73150d514dfeaf21cc66f4e54cef355
glibc-manpages.tar.bz2: ca54bfb832b703c8e35170fcc1c1f5470b45ff0f

View file

@ -3,7 +3,7 @@
# Package from the last commit from there
# Only important patches are ported into it
# (instead of applying many commits as patches)
%define commit c005d1bd6f0e88ab4b822844d75d10c8978f5404
%define commit f30501ca7557a194a53af22ff5b47b3189c48216
%define commit_short %(echo %{commit} | head -c6)
# The test suite should be run after updates, but is very
@ -126,7 +126,7 @@ Version: 2.38
#Source0: http://ftp.gnu.org/gnu/glibc/%%{oname}-%%{version}.tar.xz
# use ./upd.sh to make a tarball and automatically update Release
Source0: glibc-%{commit}.tar.xz
Release: 4.git%{commit_short}.1
Release: 5.git%{commit_short}.1
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Group: System/Libraries
Url: http://www.gnu.org/software/libc/
@ -1116,7 +1116,6 @@ These are configuration files that describe possible time zones.
%prep
%autosetup -p1 -n %{source_dir} -a3
%set_build_flags
find . -type f -size 0 -o -name "*.orig" -exec rm {} \;
@ -1134,6 +1133,7 @@ autoconf
#-----------------------------------------------------------------------
%build
%set_build_flags
# qemu hack
%ifarch %{riscv}
export libc_cv_mtls_dialect_gnu2=yes
@ -1176,7 +1176,10 @@ function BuildGlibc() {
# Select optimization flags and compiler to use
BuildAltArch="no"
BuildCompFlags=""
BuildFlags="-O3 -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Wformat -Wl,--hash-style=both"
# -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
# is here for Steam bug
# https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/26
BuildFlags=" -O3 -g -Wp,-D_GLIBCXX_ASSERTIONS -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Wformat -Wl,--hash-style=both -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
case $arch in
i[3-6]86)
%ifarch %{x86_64}