SHA256
1
0
forked from pool/glibc

Accepting request 890373 from home:Andreas_Schwab:Factory

- nptl-db-libpthread-load-order.patch: nptl_db: Support different
  libpthread/ld.so load orders (bscn#1184214, BZ #27744)

OBS-URL: https://build.opensuse.org/request/show/890373
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=591
This commit is contained in:
2021-05-04 13:27:53 +00:00
committed by Git OBS Bridge
parent 97cf158760
commit 361742413c
3 changed files with 395 additions and 3 deletions

View File

@@ -257,6 +257,8 @@ Patch1003: nscd-netgroupcache.patch
Patch1004: nss-database-lookup.patch
# PATCH-FIX-UPSTREAM linux: always update select timeout (BZ #27706)
Patch1005: select-modify-timeout.patch
# PATCH-FIX-UPSTREAM: nptl_db: Support different libpthread/ld.so load orders (BZ #27744)
Patch1006: nptl-db-libpthread-load-order.patch
###
# Patches awaiting upstream approval
@@ -480,6 +482,7 @@ Internal usrmerge bootstrap helper
%patch1003 -p1
%patch1004 -p1
%patch1005 -p1
%patch1006 -p1
%patch2000 -p1
%patch2001 -p1
@@ -490,9 +493,6 @@ Internal usrmerge bootstrap helper
# Disable LTO due to a usage of top-level assembler that
# causes LTO issues (boo#1138807).
%define _lto_cflags %{nil}
%if "%flavor" == "i686"
%global optflags %(echo "%optflags"|sed -e s/i586/i686/) -march=i686 -mtune=generic
%endif
if [ -x /bin/uname.bin ]; then
/bin/uname.bin -a
else
@@ -527,9 +527,15 @@ for opt in $tmp; do
-fstack-protector-*) enable_stack_protector=${opt#-fstack-protector-} ;;
-fstack-protector) enable_stack_protector=yes ;;
-ffortify=* | *_FORTIFY_SOURCE*) ;;
%if "%flavor" == "i686"
*i586*) BuildFlags+=" ${opt/i586/i686}" ;;
%endif
*) BuildFlags+=" $opt" ;;
esac
done
%if "%flavor" == "i686"
BuildFlags+=" -march=i686 -mtune=generic"
%endif
BuildCC="%__cc"
BuildCCplus="%__cxx"
#