SHA256
1
0
forked from pool/gcc13

Accepting request 1043820 from home:dirkmueller:Factory

- update floatn fixinclude pickup to check each header separately (bsc#1206480)

OBS-URL: https://build.opensuse.org/request/show/1043820
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=9
This commit is contained in:
Richard Biener 2022-12-20 12:14:14 +00:00 committed by Git OBS Bridge
parent c067c70bfe
commit 90627694dd
3 changed files with 21 additions and 8 deletions

View File

@ -1891,17 +1891,21 @@ rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/ucontext.h
rm -f %{buildroot}/%{libsubdir}/include-fixed/bits/statx.h
rm -f %{buildroot}/%{libsubdir}/include-fixed/pthread.h
rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/rseq.h
echo > ../floatn-fixes.list
# Whether floatn.h is fixed depends on the glibc version and architecture.
# For now keep it if it's there but in the end we want to fix glibc itself
# everywhere.
if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn.h; then
cat > ../floatn-fixes.list <<EOF
cat >> ../floatn-fixes.list <<EOF
%dir %{libsubdir}/include-fixed/bits
%{libsubdir}/include-fixed/bits/floatn-common.h
%{libsubdir}/include-fixed/bits/floatn.h
EOF
else
echo > ../floatn-fixes.list
fi
if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn-common.h; then
cat >> ../floatn-fixes.list <<EOF
%dir %{libsubdir}/include-fixed/bits
%{libsubdir}/include-fixed/bits/floatn-common.h
EOF
fi
%if !%{enable_plugins}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 19 14:59:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update floatn fixinclude pickup to check each header separately (bsc#1206480)
-------------------------------------------------------------------
Wed Dec 14 07:52:36 UTC 2022 - Richard Biener <rguenther@suse.com>

View File

@ -2698,17 +2698,21 @@ rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/ucontext.h
rm -f %{buildroot}/%{libsubdir}/include-fixed/bits/statx.h
rm -f %{buildroot}/%{libsubdir}/include-fixed/pthread.h
rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/rseq.h
echo > ../floatn-fixes.list
# Whether floatn.h is fixed depends on the glibc version and architecture.
# For now keep it if it's there but in the end we want to fix glibc itself
# everywhere.
if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn.h; then
cat > ../floatn-fixes.list <<EOF
cat >> ../floatn-fixes.list <<EOF
%dir %{libsubdir}/include-fixed/bits
%{libsubdir}/include-fixed/bits/floatn-common.h
%{libsubdir}/include-fixed/bits/floatn.h
EOF
else
echo > ../floatn-fixes.list
fi
if test -f %{buildroot}/%{libsubdir}/include-fixed/bits/floatn-common.h; then
cat >> ../floatn-fixes.list <<EOF
%dir %{libsubdir}/include-fixed/bits
%{libsubdir}/include-fixed/bits/floatn-common.h
EOF
fi
%if !%{enable_plugins}