Accepting request 1118532 from home:Andreas_Schwab:Factory

- Avoid use of SSE in i586 build

OBS-URL: https://build.opensuse.org/request/show/1118532
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=680
This commit is contained in:
Andreas Schwab 2023-10-18 07:56:57 +00:00 committed by Git OBS Bridge
parent 056c554fd9
commit 8f4dfbf63d
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 17 12:00:11 UTC 2023 - Andreas Schwab <schwab@suse.de>
- Avoid use of SSE in i586 build
-------------------------------------------------------------------
Mon Oct 9 08:50:18 UTC 2023 - Andreas Schwab <schwab@suse.de>

View File

@ -630,6 +630,14 @@ for opt in $tmp; do
done
%if "%flavor" == "i686"
BuildFlags+=" -march=i686 -mtune=generic"
%else
%if !%{build_cross}
%ifarch i586
# workaround for unaligned stack in java-11-openjdk and mariadb
# by avoiding use of SSE
BuildFlags+=" -march=i586"
%endif
%endif
%endif
%if 0%{?with_gcc:1}
BuildCC="gcc-%{with_gcc}"