SHA256
1
0
forked from pool/glibc

Accepting request 885029 from home:Andreas_Schwab:Factory

- Enable support for static PIE (bsc#1184646)
- select-modify-timeout.patch: linux: always update select timeout
  (bsc#1184339, BZ #27706)

OBS-URL: https://build.opensuse.org/request/show/885029
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=589
This commit is contained in:
2021-04-13 14:29:17 +00:00
committed by Git OBS Bridge
parent 67ea2f3a6c
commit 97cf158760
3 changed files with 167 additions and 5 deletions

View File

@@ -255,6 +255,8 @@ Patch1002: x86-isa-level.patch
Patch1003: nscd-netgroupcache.patch
# PATCH-FIX-UPSTREAM nss: fix nss_database_lookup2's alternate handling (BZ #27416)
Patch1004: nss-database-lookup.patch
# PATCH-FIX-UPSTREAM linux: always update select timeout (BZ #27706)
Patch1005: select-modify-timeout.patch
###
# Patches awaiting upstream approval
@@ -477,6 +479,7 @@ Internal usrmerge bootstrap helper
%patch1002 -p1
%patch1003 -p1
%patch1004 -p1
%patch1005 -p1
%patch2000 -p1
%patch2001 -p1
@@ -610,6 +613,9 @@ profile="--disable-profile"
--enable-stackguard-randomization \
%endif
${enable_stack_protector:+--enable-stack-protector=$enable_stack_protector} \
%ifarch %{ix86} x86_64 aarch64
--enable-static-pie \
%endif
--enable-tunables \
--enable-kernel=%{enablekernel} \
--with-bugurl=http://bugs.opensuse.org \
@@ -835,11 +841,6 @@ chmod 644 %{buildroot}%{_bindir}/ldd
rm -f %{buildroot}%{rootsbindir}/sln
# Remove the buildflags tracking section and the build-id
for o in %{buildroot}/%{_libdir}/crt[1in].o %{buildroot}/%{_libdir}/lib*_nonshared.a; do
objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
done
%ifnarch i686
mkdir -p %{buildroot}/usr/lib/tmpfiles.d/
install -m 644 %{SOURCE20} %{buildroot}/usr/lib/tmpfiles.d/