SHA256
1
0
forked from pool/qemu

Accepting request 979489 from home:dfaggioli:old_qemu

- It has been observed that building QEMU with _FORTIFY_SOURCE=3
  causes problem (see bsc#1199924). Force it to =2 for now, while
  we investigate the issue.

OBS-URL: https://build.opensuse.org/request/show/979489
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=719
This commit is contained in:
Dario Faggioli 2022-05-27 14:12:47 +00:00 committed by Git OBS Bridge
parent 3206ea7c01
commit f76560bd5f
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri May 27 14:07:50 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
- It has been observed that building QEMU with _FORTIFY_SOURCE=3
causes problem (see bsc#1199924). Force it to =2 for now, while
we investigate the issue.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 23 12:15:45 UTC 2022 - Dario Faggioli <dfaggioli@suse.com> Mon May 23 12:15:45 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>

View File

@ -1394,6 +1394,8 @@ cp %{SOURCE13} docs/supported.rst
mkdir -p %blddir mkdir -p %blddir
cd %blddir cd %blddir
# We want to enforce _FORTIFY_SOURCE=2. See bsc#1199924
EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
%srcdir/configure \ %srcdir/configure \
--prefix=%_prefix \ --prefix=%_prefix \
--sysconfdir=%_sysconfdir \ --sysconfdir=%_sysconfdir \
@ -1403,7 +1405,7 @@ cd %blddir
--docdir=%_docdir \ --docdir=%_docdir \
--firmwarepath=%_datadir/%name \ --firmwarepath=%_datadir/%name \
--python=%_bindir/python3 \ --python=%_bindir/python3 \
--extra-cflags="%{optflags}" \ --extra-cflags="${EXTRA_CFLAGS}" \
--with-git-submodules=ignore \ --with-git-submodules=ignore \
--disable-fuzzing \ --disable-fuzzing \
--disable-multiprocess \ --disable-multiprocess \

View File

@ -1128,6 +1128,8 @@ cp %{SOURCE13} docs/supported.rst
mkdir -p %blddir mkdir -p %blddir
cd %blddir cd %blddir
# We want to enforce _FORTIFY_SOURCE=2. See bsc#1199924
EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
%srcdir/configure \ %srcdir/configure \
--prefix=%_prefix \ --prefix=%_prefix \
--sysconfdir=%_sysconfdir \ --sysconfdir=%_sysconfdir \
@ -1137,7 +1139,7 @@ cd %blddir
--docdir=%_docdir \ --docdir=%_docdir \
--firmwarepath=%_datadir/%name \ --firmwarepath=%_datadir/%name \
--python=%_bindir/python3 \ --python=%_bindir/python3 \
--extra-cflags="%{optflags}" \ --extra-cflags="${EXTRA_CFLAGS}" \
--with-git-submodules=ignore \ --with-git-submodules=ignore \
--disable-fuzzing \ --disable-fuzzing \
--disable-multiprocess \ --disable-multiprocess \